wadahiro / keycloak-discord

Keycloak Identity Provider extension for Discord
121 stars 64 forks source link

Update Username on every login. #11

Closed kywan closed 1 year ago

kywan commented 3 years ago

When a user updates his nickname on discord, keycloak should update it too.

ps : why not do it with the email too ?!

williamhatcher commented 2 years ago

While I haven't tried this, I think you can do this under the "Mappers" section. Create a new mapper and set the "Sync mode override" to "force" image

wadahiro commented 2 years ago

@williamhatcher Thank you for your comment. I have confirmed that we can update it every time the user login using Mapper with force setting.