ccfos/nightingale

OIDC login with keycloak failed

Open

#1.779 aberto em 23 de nov. de 2023

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)Go (1.720 forks)github user discovery
help wanted

Métricas do repositório

Stars
 (13.061 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

配置如下 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请求

Guia do colaborador