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

相关推荐
Gold Steps.10 小时前
Alloy+Loki+Minio+Grafana云原生K8S日志收集方案
云原生·kubernetes·grafana
观测云1 天前
Pyroscope Java 接入最佳实践
grafana
星哥说事3 天前
Grafana仪表盘的创建与数据可视化
信息可视化·grafana
Swift社区4 天前
数据库连接池监控最佳实践:用 Prometheus + Grafana 打造可视化监控体系
数据库·grafana·prometheus
yunson_Liu5 天前
grafana限制folder普通用户访问
grafana·prometheus
AnsonNie5 天前
Grafana设置简体中文
grafana
技术破壁人5 天前
《Prometheus + Grafana 监控体系实战》—— 从指标采集到智能告警!
grafana·prometheus
soft20015255 天前
Rocky Linux 9.6 环境下,Prometheus + Grafana 生产级安装手册
linux·grafana·prometheus
有想法的py工程师7 天前
PostgreSQL × Debezium × Kafka CDC(Change Data Capture)监控体系
postgresql·kafka·zabbix·grafana·prometheus
凤凰战士芭比Q8 天前
(四)zabbix利用Grafana进行图形展示
zabbix·grafana