Configure Multiple OAuth Provider

Hi all,
I need to configure multiple generic oauth provider in my grafana. Actually i have modified my grafan.in as follows with 2 generic oauth but only the second one is visibile on my login page :

[auth.generic_oauth]
enabled = true
name = TENANT1
allow_sign_up = false
client_id = XXXXXXXXXXXXXXXXXXXX
client_secret = XXXXXXXXXXXXXXXXX
scopes = openid,profile
auth_url = https://<MY_VHOST>/oauth2/authorize
token_url = https://<MY_VHOST>/oauth2/token
api_url = https://<MY_VHOST>/oauth2/userinfo

[auth.generic_oauth]
enabled = true
name = TENANT2
allow_sign_up = false
client_id = XXXXXXXXXXXXXXXX
client_secret = XXXXXXXXXXXXX
scopes = openid,profile
auth_url = https://<MY_VHOST>/oauth2/authorize
token_url = https://<MY_VHOST>/oauth2/token
api_url = https://<MY_VHOST>/oauth2/userinfo

@danielgonzalez any suggestion?

Thank you
Regards
Cosimo

1 Like

Any news on that? We face the same need, having multiple oauth providers in the same Grafana.