Grafana – unable to login “User already exists”

Grafana10升级后,使用OIDC提供商如Dex登录时可能出现用户已存在错误。此问题源于CVE修复,解决方法是设置GF_AUTH_OAUTH_ALLOW_INSECURE_EMAIL_LOOKUP环境变量或在auth配置中启用不安全邮箱查找。
摘要由CSDN通过智能技术生成
The Issue

When trying to log into Grafana Web UI using an OIDC provider, in my case, Dex. The login would fail due to the error “User already exists”, after some time. This happened for any users given access via the OIDC.

The Cause

This looks to happen due to a CVE fix implemented in Grafana as documented in the two comments below:

The Fix

To resolve this issue, for Grafana 10.0.x and 9.5.6, the env variable GF_AUTH_OAUTH_ALLOW_INSECURE_EMAIL_LOOKUP can be set or the config key oauth_allow_insecure_email_lookup can be set under the auth section.

[auth]
oauth_allow_insecure_email_lookup=true

Source + Source 2

Hope this helps anyone stuck out there!

Regards

Follow @Saintdle

Dean Lewis

The post Grafana – unable to login “User already exists” appeared first on vEducate.co.uk.

来源 https://blogs.vmware.com/affiliates/grafana-unable-to-login-user-already-exists-2

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值