We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
withSignUp
1 parent 7ec95a7 commit 593356cCopy full SHA for 593356c
.changeset/serious-mice-approve.md
@@ -0,0 +1,5 @@
1
+---
2
+'@clerk/clerk-js': patch
3
4
+
5
+When a user passes `withSignUp={false}` we should opt out of combined flow even when `signUpUrl` is undefined.
packages/clerk-js/src/ui/contexts/components/SignIn.ts
@@ -45,7 +45,8 @@ export const useSignInContext = (): SignInContextType => {
45
46
const isCombinedFlow =
47
(signUpMode !== 'restricted' &&
48
- Boolean(!options.signUpUrl && options.signInUrl && !isAbsoluteUrl(options.signInUrl))) ||
+ Boolean(!options.signUpUrl && options.signInUrl && !isAbsoluteUrl(options.signInUrl)) &&
49
+ context.withSignUp !== false) ||
50
context.withSignUp ||
51
false;
52
0 commit comments