Grafana – unable to login “User already exists”

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

相关推荐
Yu_摆摆1 天前
windows部署prometheus+windows_exporter+grafana+alertmanager实现监控CPU、内存、磁盘并邮件告警
windows·grafana·prometheus
qq_266348734 天前
Grafana+Loki+Alloy日志采集系统-2
grafana·loki
qq_266348734 天前
Grafana+Loki+Alloy日志采集系统-1
grafana
Triv20254 天前
太阳能船远程信息处理:CAN数据记录 + Grafana仪表板实战案例
grafana·数据可视化·influxdb·嵌入式系统·can总线·数据采集与监控·智能船舶
cnskylee4 天前
【Grafana】Grafana大版本升级后的Visualizations迁移说明
grafana
**蓝桉**4 天前
Pushgateway的使⽤
grafana·prometheus
小李的便利店6 天前
k8s集群部署Prometheus和Grafana
kubernetes·grafana·prometheus·监控
**蓝桉**6 天前
一键恢复 Redis 运行与 Grafana 监控(免修改 systemd 配置)
redis·bootstrap·grafana
数据知道7 天前
MongoDB性能监控仪表板:Grafana+Prometheus集成实战
mongodb·grafana·prometheus
&不羁之风&7 天前
Grafana 配置实战
grafana