ccfos/nightingale

OIDC login with keycloak failed

Open

#1779 aperta il 23 nov 2023

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)Go (1720 fork)github user discovery
help wanted

Metriche repository

Star
 (13.061 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

配置如下 Enable = true DisplayName = '[OIDC]' RedirectURL = 'https://xxxx.xxxx/callback' SsoAddr = 'https://xxxx.xxxx.com/realms/xxxx' ClientId = 'xxxx' ClientSecret = 'xxx' CoverAttributes = true DefaultRoles = ['Standard']

[Attributes] Nickname = 'preferred_username' Email = 'email'

可以正常跳转 但是会错误 oauth2: "invalid_grant" "Code not valid" 也就是code换token步骤 在keycloak日志中可以看到 Nightingale 发起了两次code 换token请求

Guida contributor