Skip to content

Commit

Permalink
fix(clerk-js): Update existing SignUp object on SignUpContinue OA…
Browse files Browse the repository at this point in the history
…uth [backport] (#4227)

Co-authored-by: Laura Beatris <[email protected]>
  • Loading branch information
anagstef and LauraBeatris authored Sep 26, 2024
1 parent 7ec5379 commit 6652b7c
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 6652b7c

Please sign in to comment.