-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
ui: mfa: use proper request id generation #17835
ui: mfa: use proper request id generation #17835
Conversation
NB for backports: apply changes to ui/mirage/handlers/mfa.js (according to commit ca14c19). |
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.
Thank you for catching this! We'd like to instead use the built-in randomUUID method so we don't have extra dependencies. Once that's updated we can ship it 🚀
Fixes: 712cc9e, ca14c19 Signed-off-by: Konstantin Demin <[email protected]>
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.
🙏
@rockdrilla would you please push an empty commit so that the CircleCI jobs kick off? 🙏 |
@hashishaw I think CircleCI is stuck due to Vercel (it asks "Authorize Fork Deployment"). |
Use
crypto.randomUUID()
to generatemfa_request_id
instead of magic withMath.random()
.Fixes: 712cc9e, ca14c19
Signed-off-by: Konstantin Demin [email protected]