cryptpad / sso

CryptPad official SSO plugin
https://cryptpad.org
GNU Affero General Public License v3.0
13 stars 6 forks source link

Sync username from Keycloak #1

Closed Cartasiane closed 4 months ago

Cartasiane commented 10 months ago

When I create a new account with keycloak the account user is something like u6a2vosi8rc95t/ndpmw1bpy84qxoabl

is it what not supported: Store extra information from users coming from SSOmean or did I configure something wrongly?

yflory commented 4 months ago

Hello, This can probably be fixed by this merged PR by configuring username_scope and/or username_claim to match the ones used in your Keycloak config. By default, the username scope is profile and the claim is name.