Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use email address in profile, not username #218

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

shreddedbacon
Copy link
Member

Lagoon currently displays the username of the keycloak user in the UI, this field is unchangeable by the user, and Lagoon does not use this field when interacting with users, it uses the email field see uselagoon/lagoon#3656

This changes the field to display the email address from the token rather than the preferred_username. This should only be merged if uselagoon/lagoon#3657 is also merged which fixes all the underlying resolver code to use email instead of the username.

@shreddedbacon shreddedbacon added this to the 2.18.x milestone Feb 21, 2024
@shreddedbacon shreddedbacon marked this pull request as ready for review February 21, 2024 08:26
Copy link
Member

@tobybellwood tobybellwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor change, is fine!

@tobybellwood tobybellwood merged commit 57b165c into main Mar 5, 2024
3 of 5 checks passed
@tobybellwood tobybellwood deleted the email-not-username branch March 5, 2024 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants