-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
OpenId UI Enhancements #16467
OpenId UI Enhancements #16467
Conversation
Looks good, but a secret with more entropy than a classical GUID/UUID would be nice. A random 256-bit value generated by a CSP and converted to hexadecimal or base64url would be great 😃 |
@kevinchalet I changed the Client Secret to use 256 hexadecimal password instead of UUID. Happy? Let me know if you need anything else or if we can merge it? |
That's good. To nitpick, maybe we shouldn't fall back to the unsafe |
@kevinchalet Alternatively, we can fallback to using |
@kevinchalet I made some changes fallback on You know what is weird here? Is that I am not sure how is the I think the
|
You know what, getRandomValues() is available even if we are in an in-secure context. https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues
So I don't think we need to worry about adding the fallback logic. |
Well, secrets generated via
Here's what MDN says: So |
@kevinchalet funny thing. look at my last comment (few seconds before yours) I think we are on the same page. fixing that now |
@kevinchalet made the final changes. Can we merge it now? |
|
I need your approval so I can . |
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.
🤣
I made the following changes in the OpenID module
Applications UI
Display Name
to be the very first field since that is a UI field,Scopes UI
Display Name
to be the very first field since that is a UI field.Client Settings
Screenshot of New Buttons