Grafana SSO [auth.generic_oauth]登录失败登录提供程序未返回电子邮件地址

时间:2019-09-13 12:10:57

标签: oauth oauth-2.0 grafana

我想使用auth.generic_oauth将sso放在grafana中,我将所有信息都放在grafana.ini中:

\

我在/var/log/grafana.log中有此消息

enabled = true
name = xxxxxxxx
allow_sign_up = true
client_id = xxxxxxxxxx
client_secret = xxxxxxxxxxxxx
email_attribute_name = email:primary
scopes = mail
send_client_credentials_via_post = false
tls_skip_verify_insecure = false
auth_url = https://xxxx/openam/oauth2/authorize?realm=AccessManagement&service=simple
token_url = https://xxxx/openam/oauth2/access_token?realm=AccessManagement&service=simple
api_url = https://xxxx/openam/oauth2/tokeninfo?realm=AccessManagement&service=simple

您有个主意吗?谢谢

0 个答案:

没有答案