Hi there!
I have an instance of grafana running on a rasberry pi. (Then I have nginx as a proxy and I embed this in my azure hosted webapplication in an iframe to present grafana).
So I wanted to setup azuread for grafana to see if I could get SSO to work to have smooth setup without having to authenticate again to see the grafana dashboard.
For the most part I followed this guide here
I created a grafana app in Azure, update the needed configurations. And it worked brilliantly! Logged into my webapp, was able to see the grafana login screen load(after disabling the deny cross site in header) and log in and see all my data <3 But only the first time!
Problem is, the authorization code is not being renewed on each request, so I am unable to log in again using azuread.
I am getting invalid grant, authorization code already redeemed
Help please