Best Answer

Changing username from email to subject claim?

  • 29 June 2023
  • 1 reply
  • 48 views

We started using Docebo a few months ago, and are slowly approaching 10k unique users. We have enabled OAuth2 for user authentication.

Since launch day we are used the user's e-mail address as the username. However we are developing several integrations that require the username to be the OAuth2 subject claim instead.

Experiments shows that choosing the username attribute “subject claim” (“sub”) works fine for new users, but the existing users still remain with their e-mail address as username.

Does anyone know of a method, API endpoint, or have tips on how this can be updated for the existing users?

icon

Best answer by KMallette 29 June 2023, 18:17

View original

1 reply

Userlevel 7
Badge +5

@stians You can use a .csv to change usernames… you need two columns with the email username and then the new one.

When you use Import & Manage to upload the file, you map “username” to the email username, and then “new username” to the OAuth2 name.
 

I’m not aware of anything API, but this is how I do it ‘manually’.

Reply