How to use auth.proxy efficiently

Hi,
I am using Grafana 7.5.9 and trying to use auth.proxy efficiently.
What I expect is that, all the user from a defined or whitelisted ip in the configuration shall get into the system only having the user name in the header of the request url.

My present configuration is like that,

#################################### Auth Proxy ##########################
[auth.proxy]
enabled = true
header_name = X-WEBAUTH-USER
header_property = username
auto_sign_up = true
sync_ttl = 60
whitelist = 10.40.254.13, 10.40.254.69
;headers = Email:X-User-Email, Name:X-User-Name
# Read the auth proxy docs for details on what the setting below enables
enable_login_token = false

where 10.40.254.13, 10.40.254.69 two are two laptop IP (for POC only).

While trying this configuration dashboard not coming back. Status got 200 but seems it still redirecting to login page.

Can anyone help me what would be the correct configuration for that.

This topic was automatically closed after 365 days. New replies are no longer allowed.