auth.generic_oauth:
enabled: true
allow_sign_up: true
auto_login: false
name: Auth0
client_id: <client_id>
client_secret: <client_secret>
scopes: openid profile email
auth_url: https://<domain>/authorize
token_url: https://<domain>/oauth/token
api_url: https://<domain>/userinfo
allowed_domains: mycompany.com https://${GRAFANA_HOST}
use_pkce: true
auth.generic_oauth.organisation_mapping:
enabled: true
org_name_from_email: true
while using this configuration If i login with email that user should have view access to organizations with domain same as email domain in grafana. But it is not working