authentik vs Authelia for Grafana SSO: which provider fits your team
Choose authentik if you want the better-documented Grafana path. authentik publishes its own Grafana guide, with authentik listed as the support level, that uses its OAuth2/OpenID Connect provider with Grafana's generic OAuth settings (GF_AUTH_GENERIC_OAUTH_*) for Docker, standalone and Helm installs. The guide includes a role_attribute_path example that returns Admin, Editor or Viewer. Choose Authelia if your team already handles sign-in for other apps and can accept a community-supported OpenID Connect guide. That guide, tested with Authelia v4.39.28 and Grafana v13.1.0, has a Known Bugs section: Grafana does not honor the standard claims retrieval process, so the guide relies on a documented configuration escape hatch. This page covers Grafana only. The general authentik vs Authelia comparison lives on its own page and is not repeated here.
The condition that matters most is the Grafana edition, not the identity provider. SAML, team sync and active sync for Grafana require Grafana Enterprise or Grafana Cloud. Open source Grafana supports sign-in through the Generic OAuth provider, which is the path both guides use, so a team on open source Grafana can run either provider for login and role mapping. Team sync and SAML are different: if your access model depends on Grafana teams that follow directory groups, you need the paid Grafana edition before either provider can help. Check the current scope in the Grafana Generic OAuth documentation, and ask Grafana Labs for current licensing terms, since this page does not give prices.
Run three checks before you commit. First, list the applications that already share your sign-in. If Authelia already protects them, its Grafana guide extends an existing setup, but its claims workaround becomes a dependency you must test on every Grafana upgrade. If you need a broader identity provider with its own admin interface and SAML support for other apps, authentik is the wider product. Second, confirm that one claim can carry your role mapping. The allow_assign_grafana_admin setting is needed only if the path can return GrafanaAdmin. Third, if you run authentik before 2026.5, add only the authorization URL as a redirect URI, because earlier releases treat every redirect URI as the Authorization type. Test the chosen guide in a staging Grafana with the exact version you plan to deploy before go-live.
Four decisions that set the Grafana SSO path
Four decisions set the Grafana SSO path before you compare authentik and Authelia. Each one changes which Grafana features you can use, how much the platform costs you to operate, or who supports the setup. The first two narrow your options, so settle them before you weigh the last two.
Which Grafana edition you run
SAML, team sync and active sync are documented only for Grafana Enterprise and Grafana Cloud. If you run Grafana open source, your sign-in options narrow to OAuth 2.0 and OpenID Connect through the Generic OAuth provider. Confirm your edition and license terms before you compare the two identity providers, because the edition decides whether SAML and team mapping are available at all. Illustrative: a team on open source Grafana that needs SAML group sync would have to change editions before either identity provider helps.
Grafana authentication docsOIDC through Generic OAuth or SAML
Both platforms can issue OpenID Connect logins that Grafana consumes through its Generic OAuth provider, configured with the GF_AUTH_GENERIC_OAUTH_* settings. authentik's Grafana guide maps roles with a role_attribute_path that returns Admin, Editor or Viewer, and allow_assign_grafana_admin is needed only if that path can return GrafanaAdmin. Before rollout, confirm which claims your identity provider sends, and decide whether SAML is worth an Enterprise or Cloud subscription for your team.
Other apps on the same provider
If the identity provider will also front GitLab, Nextcloud or internal dashboards, plan for more admin surface. authentik runs a server container with an embedded outpost, a worker container and PostgreSQL, and it provides OAuth2 and OpenID Connect, SAML, LDAP, RADIUS and proxy providers. Authelia works as a companion to reverse proxies, where the proxy asks it whether each request is allowed, and it serves only HTTPS sites. Decide now whether you want a full admin console or a lighter companion, because changing later alters every app's login path.
authentik architectureCommunity guide or vendor-supported guide
authentik's Grafana guide lists authentik as its support level. Authelia's OpenID Connect guide for Grafana is community-supported, tested with Authelia v4.39.28 and Grafana v13.1.0, and its Known Bugs section says Grafana does not honor the standard claims retrieval process. The guide therefore uses a documented configuration escape hatch as a workaround. If your team cannot maintain that workaround alone, ask for a written support path before you choose.
Authelia Grafana guideWhat Grafana requires for OIDC, SAML and SCIM sign-in
For this comparison, the sign-in path to plan around is OAuth 2.0 and OpenID Connect through Grafana's Generic OAuth provider, configured in the [auth.generic_oauth] section. Grafana also has provider pages for Keycloak, Okta, Entra ID, GitHub, GitLab and Google. The authentik guide sets GF_AUTH_GENERIC_OAUTH_* variables for Docker, standalone and Helm installs, and maps roles with a role_attribute_path that returns Admin, Editor or Viewer. Set allow_assign_grafana_admin only if that path can return GrafanaAdmin. The Authelia guide is an OpenID Connect client guide that Authelia labels community-supported. It documents a known bug where Grafana does not honor the standard claims retrieval process, so the guide uses a configuration escape hatch as a workaround. Review that workaround with your security team before you rely on it for role assignment.
SAML authentication, team sync and active sync are documented for Grafana Enterprise and Grafana Cloud. Grafana's documentation does not list them for Grafana open source, so any SAML design depends on the edition you buy or host. Grafana also documents SCIM provisioning only in connection with SAML, and it names Entra ID and Okta as the supported identity providers for SCIM. authentik's integration guides can add an optional SCIM provider as a backchannel to push users to an application, but Grafana's documentation does not name authentik for SCIM. Ask Grafana directly, or test in a lab, before you plan user lifecycle or team membership around authentik-driven provisioning. Team sync and active sync also need a licensing decision before any architecture work starts.
Grafana also documents LDAP authentication and JWT proxy authentication. This comparison does not cover either one, so do not treat them as a fallback without reading their own documentation first. Edition behavior is the detail most likely to change between releases, so confirm it against the Grafana version you run, using the authentication overview for that version and your Grafana license terms. In your own environment, check three things: whether your Grafana edition includes SAML and team sync, whether your identity provider is named in the SCIM documentation, and whether your role mapping can return GrafanaAdmin. Those answers tell you which identity provider fits the rollout.
Where authentik and Authelia differ for Grafana SSO
This table compares how authentik and Authelia handle Grafana sign-in across licensing, support, protocol, role mapping, SAML, provisioning, HTTPS and version notes. Read each row against your Grafana edition and your identity needs. The main takeaway is that both work through Grafana's Generic OAuth provider, but authentik publishes a guide it supports, while Authelia's guide is community-supported and needs a claims workaround.
| Integration aspect | authentik | Authelia |
|---|---|---|
| License and edition | authentik core is MIT licensed. The enterprise directory needs a paid subscription for production use. | Apache-2.0 licensed. Confirm any paid support or add-on options with Authelia before planning. |
| Grafana guide and support level | Guide is listed as authentik-supported and covers Docker, standalone and Helm installs. | Community-supported guide, tested with Authelia v4.39.28 and Grafana v13.1.0. |
| Protocol with Grafana | OAuth2/OpenID Connect provider, configured through Grafana's Generic OAuth settings (GF_AUTH_GENERIC_OAUTH_*). | OpenID Connect 1.0 client guide, configured through Grafana's Generic OAuth provider. |
| Role mapping | role_attribute_path can return Admin, Editor or Viewer. allow_assign_grafana_admin is needed only for GrafanaAdmin. | Grafana does not honor the standard claims retrieval process, so the guide uses a documented escape hatch. Test role mapping before go-live. |
| SAML | Available as a provider in authentik. Grafana SAML login needs Grafana Enterprise or Grafana Cloud. | Not covered in the Authelia Grafana guide. |
| SCIM and provisioning | No Grafana SCIM path is documented. authentik offers SCIM as a general backchannel option, so confirm Grafana support first. | No Grafana SCIM path is documented. Confirm provisioning needs with Grafana before go-live. |
| HTTPS requirement | Confirm the HTTPS requirement in authentik's documentation before deployment. | Required: session cookies need HTTPS, and Authelia does not support plain HTTP. |
| Version notes | Before 2026.5, all redirect URIs count as Authorization type. Newer lines distinguish URI types, so check entries. | Check the guide against your Authelia and Grafana versions before copying settings. |
Grafana sign-in hands off between the browser, Grafana and the identity provider
This illustrative sketch follows the OpenID Connect authorization code flow from the moment a user opens Grafana. Grafana redirects the browser to the provider's authorization endpoint, where the user signs in and completes any configured second factor. The provider returns a code to Grafana's callback, and Grafana exchanges it for tokens and reads the claims. The role_attribute_path setting maps those claims to a Grafana role before the session starts. Check that the redirect URI matches Grafana's callback and that the role path returns values Grafana accepts. Authelia's guide notes that Grafana does not honor the standard claims retrieval process, so it uses a documented workaround.
Illustrative OpenID Connect flow for Grafana, drawn as a sketch.
How the authentik and Authelia Grafana SSO setup differs
authentik's Grafana integration guide uses an OAuth2/OpenID Connect provider with Grafana's Generic OAuth settings, and it covers Docker, standalone and Helm installs. Most of the work sits in authentik's admin interface and in Grafana's GF_AUTH_GENERIC_OAUTH_* settings, so the two sides must agree on every endpoint and client value.
- Create the provider and application: Add an OAuth2/OpenID Connect provider in authentik, bind an application to it, and record the client ID and secret for Grafana.
- Set the Generic OAuth keys: Configure the
GF_AUTH_GENERIC_OAUTH_*settings for your install method (environment variables for Docker,grafana.inifor standalone, or Helm values) using the endpoints authentik issues. - Map roles with role_attribute_path: The guide's example returns Admin, Editor or Viewer from the token claims. Set it through the
role_attribute_pathkey and test it with one account per group. - Set allow_assign_grafana_admin only when needed: Enable
allow_assign_grafana_adminonly if your path can return GrafanaAdmin. If it cannot, leave the setting off so the identity provider cannot grant server administrator rights. - Check the redirect URI type by version: Before authentik 2026.5, all redirect URIs are treated as the Authorization type, so add only the authorization URL. From 2026.5, confirm the redirect URI type against the current guide before you save the provider.
Confirm the redirect URI type against the authentik version you run, because the guide's note changes at 2026.5 and the exact keys come from the guide itself.
Authelia's Grafana OpenID Connect guide is a community-supported OpenID Connect 1.0 client guide, so treat it as a tested starting point and confirm each step on your own versions. Authelia runs as a companion to a reverse proxy, so Grafana is registered as a client inside Authelia's configuration rather than through an admin console.
- Register Grafana as a client: Add Grafana to the OpenID Connect clients section of Authelia's configuration, with the client ID, a hashed client secret, the redirect URI and the scopes the guide lists.
- Apply the documented claims workaround: The guide's Known Bugs section says Grafana does not honor the standard claims retrieval process. Apply the configuration escape hatch the guide documents, and keep it in place during upgrades of either product.
- Serve both sites over HTTPS: Authelia's session cookies require HTTPS, and the project declines to support plain HTTP. Give Grafana and Authelia valid TLS certificates before you test the login flow.
- Set the Grafana Generic OAuth keys: Point the
GF_AUTH_GENERIC_OAUTH_*settings at the Authelia endpoints named in the guide, using the exact key names it gives for your install method. - Keep client changes under review: Client definitions live in a configuration file, so store them under version control and review changes the same way you review other access policy.
Confirm the claims workaround and the role mapping on your Authelia and Grafana versions, since the guide was tested with Authelia v4.39.28 and Grafana v13.1.0.
Both setups use Grafana's Generic OAuth provider, which Grafana documents for OAuth 2.0 and OpenID Connect sign-in in its Generic OAuth guide. Grafana's documentation places SAML authentication, team sync and active sync in Grafana Enterprise and Grafana Cloud, so the checks below apply to both providers in the same way.
- Confirm the Grafana edition: Grafana documents SAML, team sync and active sync for Grafana Enterprise and Grafana Cloud only. Confirm your edition before you design any team-based access model around them.
- Test on your exact versions: Record the authentik, Authelia and Grafana versions you run, then retest login, role assignment and logout after every upgrade of any of the three.
- Test each role with a dedicated account: Use separate test accounts for Admin, Editor and Viewer, and for GrafanaAdmin if your setup can return it. Confirm that only the intended accounts reach administrator rights.
- Pin the source for every key: Copy key names from the official guide for your chosen provider, and store the guide's version or date in your change record so auditors can trace each setting.
- Confirm what provisioning covers: Grafana's authentication overview lists SCIM provisioning for SAML with Entra ID and Okta, and the OIDC setups in this section do not inherit that. Ask each vendor or your own test results what happens to users and groups when accounts are removed upstream.
Before sign-off, confirm the exact keys and the claims behavior on your Grafana version, and keep a dated record of those results.
What each provider can and cannot provision into Grafana
Both providers reach Grafana through OpenID Connect, but identity sync is where they diverge. Grafana open source sign-in runs through its Generic OAuth provider, while team sync, active sync and SAML sit in Enterprise and Cloud. Treat each card as a check to run in a test environment before you commit to a provisioning plan.
Sign-in and first login
The OIDC sign-in path is documented for both authentik and Authelia, so the redirect step is the lower-risk part. The first sign-in deserves the closer look: confirm with each vendor how it creates or maps the Grafana user, and which token claims set the login and email. Test with a person who has never signed in to Grafana before. On authentik, redirect URIs before 2026.5 are all treated as Authorization type, so add only the authorization URL.
Generic OAuth docsRoles from claims
authentik's Grafana guide includes a role_attribute_path example that returns Admin, Editor or Viewer, so role assignment from claims is documented on that side. Only set allow_assign_grafana_admin if your path can return GrafanaAdmin, since the guide treats it as needed only for that case. Authelia's guide is community-supported and was tested with Authelia v4.39.28 and Grafana v13.1.0, but its Known Bugs section says Grafana does not honor the standard claims retrieval process. Authelia role mapping depends on the workaround, so confirm it on the exact versions you plan to run.
Groups and team sync
Grafana documents team sync only for Grafana Enterprise and Grafana Cloud, so it is not available on open source Grafana. Neither provider's Grafana guide covers group-to-team mapping on open source Grafana, so confirm it with each vendor before you design access around groups. Until then, plan team membership as a manual step in your onboarding runbook and record who assigns it.
Grafana auth docsDeprovisioning and offboarding
Grafana documents SCIM provisioning for SAML, with Entra ID and Okta as the named identity providers, and active sync sits in Enterprise and Cloud. The authentik guide offers an optional SCIM provider as a backchannel to push users to an app, but no Grafana SCIM path for that backchannel is documented. No provisioning is documented for Authelia. Plan offboarding as a manual runbook step that disables the Grafana user and ends active sessions, and confirm each vendor's behavior before you rely on automation.
Documented limits to check before committing to either provider
Authelia's Grafana guide has a Known Bugs section stating that Grafana does not honor the standard claims retrieval process, so the guide relies on a documented configuration escape hatch to work around it. Read that section before you commit, and have your team test the workaround against the Grafana version you plan to run. The guide is community-supported, so the support path for this configuration runs through the community rather than a vendor agreement. Authelia's second constraint is transport. Its session cookies require HTTPS, and the project declines to support plain HTTP, so every Grafana and Authelia URL in your design needs a TLS certificate and a plan for issuing and renewing it. Confirm that with your platform team before the pilot, because a test over plain HTTP will not reproduce production behavior. Authelia's Grafana OpenID Connect guide lists the known bug and the workaround.
authentik's core is MIT licensed, but code under the authentik/enterprise/ directory falls under the Enterprise Edition license and needs a paid subscription for production use. Before you rely on the Grafana OAuth2/OpenID Connect path, confirm with authentik that the code it depends on sits in MIT core and not in the enterprise directory. Pricing matters once you move past evaluation. The authentik pricing page lists Enterprise at $5 per user per month billed annually, plus $0.02 per external user per month, so count internal and external users separately when you size the subscription. authentik's security policy lists 2026.5.x and 2026.8.x as the lines that receive security fixes, and security releases are announced at least 24 hours ahead. Pick the line you will run before go-live, and make sure your change process can apply a security release on short notice.
Grafana imposes its own limits on both designs. Grafana's documentation says SAML authentication, team sync and active sync are available only in Grafana Enterprise and Grafana Cloud, so any plan that depends on SAML, team sync or active sync needs one of those editions. OpenID Connect sign-in works through Grafana's Generic OAuth provider, which is the route the authentik and Authelia guides use. If your access model maps roles with role_attribute_path and does not need team sync, the open source edition may cover your Grafana requirements, but confirm that against your own role model. Check the Grafana edition, the team sync requirement and the role mapping together in one review, because changing any of them later means reworking the login configuration.
What buyers ask before hiring help with Grafana SSO
How much effort does a Grafana OIDC setup take with authentik or Authelia?
The effort depends mostly on the Grafana install method, the complexity of your role mapping and whether HTTPS is ready, more than on the provider name alone. authentik's guide covers Docker, standalone and Helm installs through Grafana's generic OAuth settings (GF_AUTH_GENERIC_OAUTH_*), and its role_attribute_path example maps users to Admin, Editor or Viewer. Authelia's Grafana OpenID Connect guide is community-supported, and its Known Bugs section says Grafana does not honor the standard claims retrieval process, so the guide depends on a documented configuration workaround your team must review and test. Authelia also serves only websites on HTTPS because its session cookies require it, so certificates and reverse proxy routing must be ready before you start. A small role model on one Grafana instance is the simplest case. Nested role rules, several instances or existing Helm secrets add testing and review work on either provider.
Does group-based access in Grafana need Grafana Enterprise?
Only if you need team sync. Grafana's documentation says SAML, team sync and active sync are available in Grafana Enterprise and Grafana Cloud only, and the open source edition does not include them. OAuth 2.0 and OpenID Connect sign-in work through the Generic OAuth provider on open source Grafana, so both authentik and Authelia can pass identity to it without an Enterprise license. What the open source edition lacks is automatic syncing of identity provider groups into Grafana teams. Without it, role assignment comes from claims in the token, such as the role_attribute_path approach in authentik's guide. Confirm your Grafana edition and license before design starts, because that choice decides where the group logic lives and who maintains it. Confirm current license terms with Grafana directly.
How long does a Grafana SSO project take from kickoff to handover?
The timeline is set in the written scope, and this page does not give a duration. Most DeployOpen engagements are fixed-scope, so scope, deliverables and timelines are agreed in writing before work starts. Several inputs move the date: how many Grafana instances are in scope, which install method you run, how many roles and group rules must be mapped, how quickly identity provider admins can make changes, and when your change window falls. Retesting after fixes is a planned step, so it belongs in the schedule from the start. Ask for milestones tied to access, configuration, testing and handover, and agree a final date only once those milestones are written down.
What does our team need to provide before Grafana SSO work starts?
Your team needs to provide Grafana admin access, identity provider admin access, test users, role mapping rules and a change window. Grafana admin access lets the setup change the generic OAuth settings and check login after a restart. Identity provider admin access is needed to create the client, set redirect URIs and add the claims or groups Grafana reads. For authentik, note that before 2026.5 all redirect URIs are treated as Authorization type, so only the authorization URL should be added, which depends on the version you run. Test users should cover each role in use, including Admin, Editor and Viewer. Role mapping rules should be written down in advance: who gets which role, and from which group or attribute. The written scope should name who provides each item and by when.
Can an internal team set up Grafana SSO alone?
Often yes, for one Grafana instance with a small role model, if the team has admin access to both Grafana and the identity provider. Start with the official guides: authentik's Grafana integration guide for Docker, standalone and Helm installs, or Authelia's community-supported Grafana OpenID Connect guide. Make the first check confirming your Grafana version, because the guides were tested against specific versions and the generic OAuth options can vary by release. Authelia's guide was tested with Authelia v4.39.28 and Grafana v13.1.0, so compare those with your environment. An internal team still has to handle the claims workaround for Authelia, HTTPS readiness, role mapping review, and testing of login, logout and each role. Test and handover work is easy to leave out of an internal plan, and an outside partner can document, review and retest the configuration against your environment before go-live.
What should a quote for Grafana SSO include?
A quote should follow from a written scope, because DeployOpen does not publish a price list. Ask for named deliverables, such as the Grafana configuration changes, the identity provider client settings, the role mapping document, test results and handover notes. The quote should state who owns the Grafana configuration and the identity provider configuration after handover, and which of your admins keep access. Look for a retest step after fixes and a defined handover, both listed in the scope. Setup is one-time work, while upgrades, continuous testing and support are available as retainers, so ask which items recur and how each is scoped. Also ask what is excluded, such as Grafana Enterprise licensing or identity provider changes outside the Grafana client.
How DeployOpen sets up Grafana SSO with either provider
DeployOpen plans, implements and hardens Grafana SSO on either authentik or Authelia inside your own infrastructure, with the scope agreed in writing before work starts. The choice depends on which provider your team will run and support, and the scope records which Grafana configuration path, role mapping and redirect settings are in use.
How we scope
- Written scope that names the Grafana version, the identity provider version and the Grafana edition in use.
- Confirm whether SAML is needed, since SAML, team sync and active sync need Grafana Enterprise or Grafana Cloud.
- Fixed-scope engagement, with deliverables agreed in writing before work starts, and optional retainer support afterward.
How we build
- Configure Grafana's generic OAuth settings for Docker, standalone or Helm, with the OIDC client on your chosen provider.
- Map identity groups to Admin, Editor and Viewer, and enable GrafanaAdmin assignment only when the path can return it.
- Apply the documented workaround for Authelia's known Grafana claims retrieval bug, and test it before handover.
How we hand over
- Written configuration record covering the redirect URIs, client settings, role mapping and the Grafana auth settings in place.
- Evidence for your compliance team: SSO configuration, admin access settings and logging configuration, ready for review.
- Test results for login, role mapping and logout, with the steps your team needs to repeat them.
How we support
- Retainer for ongoing support, upgrades and continuous testing, if you want DeployOpen to keep Grafana SSO current.
- Confirm upgrade ownership, since authentik announces security releases at least 24 hours in advance.
- Ask for support terms in writing, including what the retainer covers and who handles Grafana and provider upgrades.

