morincer / teamcity-plugin-saml

The plug-in adds ability to authenticate users by SAML-based SSO providers (like Okta, Onelogin etc.)
MIT License
24 stars 16 forks source link

Update full name and e-mail of the user if these change AFTER initial user creation #120

Open madsboddum opened 1 year ago

madsboddum commented 1 year ago

Hello!

First off, this is an awesome plugin.

I think this is more of a feature request than a bug report. What we did:

  1. Set up a test user in our IdP and gave it some random name, some random e-mail and assigned it to a group
  2. Signed in to TeamCity, using the test user
  3. Test user is created with the correct group association, full name and e-mail
  4. We change the name, e-mail and group of the user in our IdP
  5. Signing in to TeamCity again, we are signed in as the same user that was created before and the group has changed, but the full name and e-mail remain the old values

We very rarely change e-mails for existing employees, but name changes do happen.

While renaming the display name of the user manually in TeamCity is still possible, it would be cool if this happened automatically at the next login.

joakimkingstrom commented 4 months ago

I've got the same issue here and I think it would be equally awesome if the plugin could update the fields based on the IdP data.