I have Grafana installed in a docker (compose) container and I had some issues with my SSO (Authentik) application and lost some settings (including Grafana).
My issue now is: I can’t login in Grafana to update the SSO settings with the new Authentik server, when I call the Grafana URL it redirect me directly to the SSO (which is with an different configuration).
Is there a way to force the basic authentication to access Grafana and disable/reconfigure SSO?
Like: grafana.mydomain.uk/basic-auth
/login
- of course you must have Grafana configuration, which allow local login
Why you just don’t disable autologin or fix sso settings via config?
Honestly? I already tried to find this config inside the container but I really couldn’t find. So I’m giving up of this option LoL
Why inside of the container? Config is passed via env variable or config file usually.
I could find eighter… I can’t explain why, but I just know where is it.
And I already tried environmental variables in docker compose:
environment:
- GF_AUTH_disable_login_form=false
- GF_AUTH_OAUTH_AUTO_LOGIN=false
No lucky…
When auto login is enabled for any of the SSO providers and you would like to use forms based auth then you need to put the ?disableAutoLogin
query parameter to the url: {grafana_url}/login?disableAutoLogin
to navigate to the default login page.