Grafana SSO with Okta (OIDC)
Use Grafana’s Okta provider with an assigned web app and a dedicated role or group claim.
Last updated
On this page (5)
Grafana · Okta · OIDC
Before you start
- Okta OIDC Web Application and Grafana administrator.
- Authorization server that exposes the intended claims; check Okta entitlement if using a custom server.
Configure sign-in
- Register https://<grafana-host>/login/okta as the sign-in redirect URI and assign the pilot population in Okta.
- Configure [auth.okta] in Grafana with the client credentials and the same Okta authorization server’s authorize, token and userinfo endpoints.
- Emit a restricted groups or grafana_role claim; evaluate it with role_attribute_path and use role_attribute_strict or an explicit group restriction to deny unmapped users as intended.
Verify the result
- Check the pilot connects to the intended existing Grafana identity and receives only the expected organization role; verify behavior when a group claim is absent.
- If configuring sign-out redirects, test whether Okta and Grafana sessions both end. Do not treat role evaluation on login as continuous deprovisioning.
