-
Notifications
You must be signed in to change notification settings - Fork 125
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: oauth add passkey after signup (popup flow) #1151
base: main
Are you sure you want to change the base?
Conversation
…dependencies change
Co-authored-by: Michael Moldoveanu <michael.moldoveanu@alchemy.com>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “graphite-merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
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.
do we need to update the ui-demo app to default back to using pop-up now?
|
||
useNewUserSignup(handleSignup, isConnected); |
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.
this solves a race condition where an on success handler would set the step to complete and close the modal that was just opened. This makes sure that all handlers complete we're done with the setup flow prior to add passkey
Co-authored-by: Michael Moldoveanu <michael.moldoveanu@alchemy.com>
Pull Request Checklist
yarn test
)site
folder, and guidelines for updating/adding docs can be found in the contribution guide)feat!: breaking change
)yarn lint:check
) and fix any issues? (yarn lint:write
)PR-Codex overview
This PR introduces a new user signup event in the
AlchemySigner
and updates various components to handle this event, alongside some refactoring in theuseAuthModal
and related hooks.Detailed summary
newUserSignup
event toAlchemySignerClientEvents
.newUserSignup
on successful user signup inAlchemySignerWebClient
.closeAuthModal
inuseAuthModal
to improve readability.CompletingOAuth
to simplify auth step setting.AuthModal
to handle signup logic withuseNewUserSignup
.