User Authentication Overview
Grafana provides many ways to authenticate users. Some authentication integrations also enable syncing user permissions and org memberships.
- LDAP Authentication (OpenLDAP, ActiveDirectory, etc)
- Auth Proxy If you want to handle authentication outside Grafana using a reverse proxy.
Grafana of course has a built in user authentication system with password authenticaten enabled by default. You can disable authentication by enabling anonymous access. You can also hide login form and only allow login through an auth provider (listed above). There is also options for allowing self sign up.
You can make Grafana accessible without any login required by enabling anonymous access in the configuration file.
[auth.anonymous] enabled = true # Organization name that should be used for unauthenticated users org_name = Main Org. # Role for unauthenticated users, other valid values are `Editor` and `Admin` org_role = Viewer
If you change your organization name in the Grafana UI this setting needs to be updated to match the new name.
Basic auth is enabled by default and works with the built in Grafana user password authentication system and LDAP authenticaten integration.
To disable basic auth:
[auth.basic] enabled = false
Disable login form
You can hide the Grafana login form using the below configuration settings.
[auth] disable_login_form ⁼ true
Hide sign-out menu
Set to the option detailed below to true to hide sign-out menu link. Useful if you use an auth proxy.
[auth] disable_signout_menu = true