-
Notifications
You must be signed in to change notification settings - Fork 904
Add password reset task documentation and compromised password error handling updates #2853
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?
Add password reset task documentation and compromised password error handling updates #2853
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
83ce8cf to
87b8e46
Compare
| ### Password compromised | ||
| If you have marked a user's password as compromised and they have another identification method to sign-in, you will receive an HTTP status of `422 (Unprocessable Entity)` and the following error payload: |
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.
what do you mean by "they have another identification to sign-in"
like the user tries to sign in using their email and password, but also has a phone number on their account? or what do you mean here
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.
If they have email and password, they can just user email code/link if supported but also if they had phone number on their account yeah they could use that, will revise her a bit here to make it more clear!
| sdk: js-frontend, nextjs, react, react-router, remix, tanstack-react-start | ||
| --- | ||
|
|
||
| {{ style: { maxWidth: '460px' } }} |
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.
the component reference needs a picture!
|
looks great 😸💖 left a few comments to resolve! @octoper |
|
This PR modifies files in the 'clerk-typedoc/' folder. These files are auto-generated from the clerk/javascript repository and should not be edited directly. To make changes to TypeDoc documentation:
Thanks for contributing! 🙏 |
ddc093c to
32b6473
Compare
- Introduced a new section in the session tasks guide for the password reset task, including its key and description. - Added error handling details for compromised passwords in the custom flows documentation. - Documented the `<TaskResetPassword />` component for rendering the password reset UI. - Updated the password protection guide to include instructions for manually marking passwords as compromised. # Conflicts: # docs/guides/configure/session-tasks.mdx
- Updated the error handling section for compromised passwords in the custom flows guide. - Improved the sign-in example for Next.js, enhancing clarity and code formatting. - Adjusted the password protection guide to streamline instructions for marking passwords as compromised. - Simplified the `mountTaskResetPassword` function documentation for better readability.
…cription and link to relevant guides
…cription and link to relevant guides
74f68ea to
85df3a4
Compare
|
how is a user's password considered compromised? (without manually marking it) |
|
@alexisintech We already have the Reject compromised password which is the "automatic" way, although this is handled a bit differently right now, but our goal is to consolidate those two flows in the future |
🔎 Previews:
What does this solve?
New "Force Password Reset" session task was added
What changed?
<TaskResetPassword />component for rendering the password reset UI.Checklist