Skip to content

Commit 1b1d49b

Browse files
authored
fix(clerk-js): Using the same identifier and strategy not triggers prepare after sign out (#5474)
1 parent 880177c commit 1b1d49b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/poor-lights-look.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+
Fix sign in prepare first factor cache key

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ export const SignInFactorOneCodeForm = (props: SignInFactorOneCodeFormProps) =>
6565
{
6666
name: 'signIn.prepareFirstFactor',
6767
factor: props.factor,
68+
id: signIn.id,
6869
},
6970
{
7071
staleTime: 100,

0 commit comments

Comments
 (0)