We have configured LDAP authentication in Grafana configuration file (defaults.ini) and it works properly. Users can login with their Active Directory accounts. But we want to skip login screen and use auto_login mechanism. We couldnt achive it works. We made required changes in config file but we are getting “Skipping OAuth auto login because multiple OAuth providers are configured” error in the log file. We just configured LDAP, others are disabled; but it still redirects us to login page. What is the solution for this problem. You can see configured parts of file below.
According to documentation it must works; and in the log file i can see that it is trying to login but gets error " Skipping OAuth auto login because multiple OAuth providers are configured" . The problem is what is the second OAuth config? I disabled all of them.
Not sure which part of the documentation you’re referring to - do you have a link?
I can only repeat what @dereismann already stated, which is that what you’re trying to do (assuming I understand it correctly) is not possible. LDAP and OAuth are two very different things. In LDAP there isn’t such a thing as a “this user is already logged in” state/cookie. LDAP is just a back end that stores user credentials, which other services (e.g. Grafana) can use to check whether a given set of user credentials is valid.