You've already forked oauth2-proxy
mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-11-06 08:59:21 +02:00
Update Keycloak documentation
This commit is contained in:
@@ -80,9 +80,7 @@ func (p *KeycloakProvider) EnrichSession(ctx context.Context, s *sessions.Sessio
|
||||
}
|
||||
|
||||
groups, err := json.Get("groups").StringArray()
|
||||
if err != nil {
|
||||
logger.Errorf("Warning: unable to extract groups from userinfo endpoint: %v", err)
|
||||
} else {
|
||||
if err == nil {
|
||||
for _, group := range groups {
|
||||
if group != "" {
|
||||
s.Groups = append(s.Groups, group)
|
||||
|
||||
Reference in New Issue
Block a user