Skip to content

Commit fa7e40c

Browse files
fix(clerk-js): Pass signInUrl to sign up context when in combined flow (#5042)
1 parent b18de30 commit fa7e40c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/violet-years-dream.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/clerk-js': patch
3+
---
4+
5+
Pass the `signInUrl` throught to the sign up context when within the combined flow.

packages/clerk-js/src/ui/components/SignIn/SignIn.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ function SignInRoot() {
151151
ssoCallbackUrl: signInContext.ssoCallbackUrl,
152152
forceRedirectUrl: signInContext.signUpForceRedirectUrl,
153153
fallbackRedirectUrl: signInContext.signUpFallbackRedirectUrl,
154+
signInUrl: signInContext.signInUrl,
154155
...normalizeRoutingOptions({ routing: signInContext?.routing, path: signInContext?.path }),
155156
} as SignUpContextType;
156157

0 commit comments

Comments
 (0)