ccfos / nightingale

An all-in-one observability solution which aims to combine the advantages of Prometheus and Grafana. It manages alert rules and visualizes metrics, logs, traces in a beautiful web UI.
https://flashcat.cloud/docs/
Apache License 2.0
9.42k stars 1.38k forks source link

OAuth2 AzureAD登录问题 #2035

Closed yanming-zhang closed 1 month ago

yanming-zhang commented 1 month ago

Question and Steps to reproduce

采用的是AzureAD登录认证,我的配置如下: image

用户信息无法正常同步 image

Relevant logs and configurations

配置后能登录,但就是无法正常同步信息到以下属性:

[Attributes]
Username = 'sub'
Nickname = 'nickname'
Phone = 'phone_number'
Email = 'email'

Version

v7.0.0-beta.13

yanming-zhang commented 1 month ago

我把默认的 Scopes = ['profile', 'email', 'phone'] 改成 Scopes = ['openid', 'email', 'profile'] 后,就能正常登录了, 但用户信息无法正常显示

image

yanming-zhang commented 1 month ago

此问题已解决 image