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

相关推荐
闲云野鹤在人间19 小时前
Prometheus入门|搭建Prometheus+Node‑Exporter+Grafana完整主机监控平台
grafana·prometheus
何中应10 天前
Grafana如何共享面板
运维·grafana·可观测
何中应10 天前
Grafana如何安装插件
运维·grafana·可观测
看浪的路人20 天前
第8讲:记忆系统的监控与运维——Prometheus 指标、Grafana 面板与告警体系
运维·grafana·prometheus
学编程的小程23 天前
服务器日志太分散不好查?我用Promtail+Loki+Grafana把采集、查询和分析串起来了
服务器·python·grafana
花月C1 个月前
Agent可观测性篇:Grafana
postgresql·grafana
Kendra9191 个月前
运维监控平台(Prometheus + Grafana)部署与维护
运维·grafana·prometheus
蓝胖的四次元口袋1 个月前
Prometheus+Grafana知识梳理(2)
grafana·prometheus
打工仔折腾 AI1 个月前
多台服务器日志分散难查?用Promtail+Loki+Grafana搭建集中检索平台
服务器·人工智能·后端·python·性能优化·django·grafana
蓝胖的四次元口袋1 个月前
Prometheus+Grafana知识梳理(1)
grafana·prometheus