Hello community,
We were using the Azure AD SSO integration with our OSS Grafana. We switched to Okta SSO but after the implementation of okta we keep getting error in Grafana UI sign in page. I checkled the Garafana.ini conf file and okta configuration but couldn’t find the any error. Does anyone has any idea about this? Or does anyone know the solution? The grafana version is Grafana v11.3.0-pre (d9455ff7)
I attached the screenshot of error:
Check your Grafana logs. Increase Grafana log level to get more details in the logs eventually.
I got this warning in the Grafana logs:
logger=authn.service t=2026-03-30T19:48:55.861554361Z level=error msg=“Failed to authenticate request” client=auth.client.okta error=“[auth.oauth.token.exchange] failed to exchange code to token: oauth2: “invalid_grant” “The authorization code is invalid or has expired.””
So you have error, which you can investigate. You didn’t provide Grafana config, Okta config so only you can investigate and find the problem.