BCDevOps / developer-experience

This repository is used to track all work for the BCGov Platform Services Team (This includes work for: 1. Platform Experience, 2. Developer Experience 3. Platform Operations/OCP 3)
Apache License 2.0
8 stars 17 forks source link

AAD/KeyCloak UPN vs email #3983

Closed NickCorcoran closed 1 year ago

NickCorcoran commented 1 year ago

Describe the issue Currently, the Gold KeyCloak service uses email as username, for users pulled from AAD. This should be modified to use UPN as it more accurately identifies the user account. Main issue is currently in the platform-services realm, but could extend past that.

Additional context OpenShift users with a UPN that differs from there email (limited number) have a username that does not accurately reflect the account they logged in with.

How does this benefit the users of our platform? Accurate account logging information.

Definition of done

NickCorcoran commented 1 year ago

Same KC ID used for accounts. May have to delete current accounts in target systems for upn to display as username. This may require re-mapping current authorizations to new account (using upn). Note written to affected users of change of attribute mapping.

NickCorcoran commented 1 year ago

Note sent to users. Another ticket to be created to track attribute change and username auth migrations.