-
What Grafana version and what operating system are you using?
Grafana Version: v7.2.1
OS: Ubuntu 18.04.3 LTS -
What are you trying to achieve?
OAuth Authentication at AWS ALB level not on Grafana Instance level and then bypass the login at Grafana level. -
How are you trying to achieve it? * What happened?
Created an OIDC app in OKTA that have client secret and ID. trying multiple [auth] and [auth.proxy] configs on Grafana level but nothing is working.
The auth at AWS ALB is working fine but after auth it takes me to Grafana login screen -
What did you expect to happen?
Auth at ALB level and then it should take me to Grafana Home page (or Dashboards) directly -
Can you copy/paste the configuration(s) that you are having problems with?
Tried multiple
The current is this:
[users]
allow_sign_up = false
auto_assign_org_role = Viewer
viewers_can_edit = true
[analytics]
reporting_enabled = false
[alerting]
enabled = true
execute_alerts = true
[server]
protocol = http
http_port = 3000
root_url=<URL_HERE>
[auth.proxy]
enabled = true
header_name = X-WEBAUTH-USER
header_property = email
auto_sign_up = true
whitelist = 127.0.0.1
-
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
Sometimes there’s no error in the logs, but when I tried to use multiple auth method it gives me
"t=2022-01-16T07:54:09+0000 lvl=warn msg=“Skipping OAuth auto login because multiple OAuth providers are configured” -
Did you follow any online instructions? If so, what is the URL?
Interaction with Grafana — AWS ALB OAuth proxy 0.1 documentation (without LDAP)