Skip to content

Commit

Permalink
fix(clerk-js): Update existing SignUp object on SignUpContinue OAuth
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraBeatris committed May 21, 2024
1 parent 80a93ee commit c1a59fb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .changeset/loud-tables-rush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@clerk/clerk-js': patch
---

A bug was fixed to not override the existing sign-up state on the OAuth callback.

When continuing a sign-up flow with social connections, `@clerk/clerk-js` was creating a new `SignUpResource` object, instead of patching the existing one.

This was affecting Web3 sign-up flows, since the wallet ID was being overridden on the browser redirect.
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ function _SignUpContinue() {
<SignUpSocialButtons
enableOAuthProviders={showOauthProviders}
enableWeb3Providers={showWeb3Providers}
continueSignUp
/>
)}
<SignUpForm
Expand Down

0 comments on commit c1a59fb

Please sign in to comment.