-
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: handle passkey signup oauth #1139
Conversation
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. |
account-kit/signer/src/signer.ts
Outdated
@@ -128,6 +136,8 @@ export class AlchemyWebSigner extends BaseAlchemySigner<AlchemySignerWebClient> | |||
|
|||
super({ client, sessionConfig, initialError }); | |||
|
|||
this.isSignup = _isSignup === "true" ? true : false; |
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.
we'll come back this, but we will want to propagate signup up via one of the status events
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 focuses on enhancing user signup experiences by integrating new user handling and modifying authentication flows, particularly around social logins and passkey creation.
Detailed summary
createPasskeyAfter
option incontext.ts
.popup
toredirect
insections.ts
.newUserSignup
event intypes.ts
andbase.ts
.usePrevious
hook inusePrevious.ts
.clientId
inindex.ts
.useNewUserSignupEffect
inuseNewUserSignup.ts
for signup handling.oauthCallbackUrl
inconfig.tsx
.AuthModal
to handle new user signup and passkey creation.CompletingOAuth
to check forcreatePasskeyAfter
.AuthParams
to includeisNewUser
insigner.ts
.AuthCardContent
to manage authentication state and disconnect logic based on user connection status.