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

相关推荐
JasonChen@6662 天前
Prometheus 存储实战:本地 TSDB 配置与 VictoriaMetrics 远端存储对接(18)
grafana·prometheus·victoria
JasonChen@6663 天前
Grafana 权限管理实战:用户授权与 Team 团队管理(17)
grafana·prometheus
JasonChen@6664 天前
pushgateway组件实现自定义监控数据采集(16)
grafana·prometheus·pushgateway
W_son6 天前
14.Grafana 监控看板实战:新建、调优、变量配置全流程
grafana·prometheus
BullSmall8 天前
Prometheus监控栈安全加固全攻略
安全·grafana·prometheus
JasonChen@66610 天前
prometheus静态监控static_config案例四(10)
grafana·prometheus
JasonChen@66611 天前
prometheus静态监控static_config案例二(8)
grafana·prometheus
IT古董18 天前
Grafana 企业级可观测性平台:从零基础到生产级实战完整教程
grafana
闲云野鹤在人间22 天前
Prometheus入门|搭建Prometheus+Node‑Exporter+Grafana完整主机监控平台
grafana·prometheus
何中应1 个月前
Grafana如何共享面板
运维·grafana·可观测