Google authentication for pmm server , Getting redirect_url mismatch error

Hi team,
I am trying to authenticate pmm-server ui with [auth.google] but getting redirect_url mismatch error
My configuration in /etc/grafana/grafana.ini is

[auth.google]
enabled = true
allow_sign_up = true
client_id = myclientid
client_secret = my secret
scopes=
https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email
auth_url = https://accounts.google.com/o/oauth2/auth
token_url = https://accounts.google.com/o/oauth2/token
api_url = https://www.googleapis.com/oauth2/v1/userinfo
allowed_domains = myorg.com
hosted_domain =

& in google credentials page urls are

Still i am not able to figure out issue,Please let me know where i was going wrong

1 Like

@Kotha_Sambashiva_Rao,
I don’t believe this is a supported configuration for PMM. PMM uses an internal nginx to handle redirects and proxy, so maybe that is messing with your auth setup.

1 Like

Then is there any way to use authentication except default one ? @matthewb

1 Like
1 Like