ccfos/nightingale

OIDC login with keycloak failed

Open

#1 779 ouverte le 23 nov. 2023

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)Go (1 720 forks)github user discovery
help wanted

Métriques du dépôt

Stars
 (13 061 stars)
Métriques de merge PR
 (Métriques PR en attente)

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请求

Guide contributeur