-
Notifications
You must be signed in to change notification settings - Fork 353
feat(clerk-js): Trigger a new request to submit the captcha token #6076
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
77fe28c
99f998b
eb56ecd
c87bab1
fe50d7d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@clerk/clerk-js': patch | ||
'@clerk/types': patch | ||
--- | ||
|
||
Trigger a new request to submit the captcha token on sign up when executing the `signUp.create` method. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -215,8 +215,8 @@ function SignUpStartInternal(): JSX.Element { | |
|
||
// TODO: This is a hack to reset the sign in attempt so that the oauth error | ||
// does not persist on full page reloads. | ||
// We will revise this strategy as part of the Clerk DX epic. | ||
void (await signUp.create({})); | ||
// This will be handled by the backend (FAPI) in the future. | ||
void (await signUp.create({}, { skipChallenge: true })); | ||
} | ||
Comment on lines
+218
to
220
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Remove redundant Inside an
If the result should be ignored but failures tolerated, consider wrapping in 🤖 Prompt for AI Agents
|
||
} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should whether
challenge
is a missing field factor into this check?