-
Notifications
You must be signed in to change notification settings - Fork 29
feat: 🎸 Populate subject for OIDC account name displays #2757
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
feat: 🎸 Populate subject for OIDC account name displays #2757
Conversation
OIDC accounts are guaranteed to have a subject claim which we should display. Currently we only look at email and full_name which are all optional for OIDC claims. ✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16634
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice change!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx for fixing this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this!! looks much better now 😉
…-page-from-users-accounts
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-16634
Description
OIDC accounts are guaranteed to have a subject claim which we should display. Currently we only look at email and full_name which are all optional for OIDC claims. In many cases, if there were no claims for these optional claims, OIDC accounts under users would show nothing which is not a good experience.
I also added links to the fields which goes directly to the corresponding auth method and account as we only display accounts under an auth method.
Screenshots (if appropriate)
Before:

After:

How to Test
Start up boundary dev and navigate to accounts under users. OIDC should display a name and they all should be able to goto the account directly.
Checklist
[ ] I have added JSON response output for API changes[ ] I have added steps to reproduce and test for bug fixes in the description[ ] I have commented on my code, particularly in hard-to-understand areas