Hi,
iam hosting discourse on my server.
For SSO i use Keycloak in combination with discourse-sso-oidc-bridge.
User creation, role assignment and all other features are working except the add_groups, groups and remove_groups values. The users will not be added to the defined groups, but with activated sso overrides groups the user will be removed from all other groups.
I´ve created the groups in discourse before i logged in over SSO.
I seems that discourse gets all required parameters (see below):
Verbose SSO log
Verbose SSO log: User was logged on tiloullrich
add_groups:
admin: true
moderator:
avatar_force_update:
avatar_url:
bio:
card_background_url:
email: test@exapmle-mail.de
external_id: 7d7d5c3c-1854-46d6-8c54-a4f45626ea58
groups: [‘exampleGroup’, ‘test’]
locale:
locale_force_update:
logout:
name: Example User
nonce: a69b0ff2c31058318351e9274fea4d42
profile_background_url:
remove_groups:
require_activation:
return_sso_url: /session/sso_login
suppress_welcome_message:
title:
username: exampleuser
website:
location: