Reverification: Public Beta
- Category
- Product
- Published
Reverification protects sensitive actions by prompting users to confirm their identity when needed.
Our new reverification feature protects sensitive actions by requiring that users have verified their credentials recently. If not, the user is prompted to verify their credentials again.
How it works
Our SDK has been updated with new backend and frontend helpers to detect and coordinate a reverification flow. This is how you can protect a Next.js route handler:
Then, from the frontend, you can configure fetch to listen for the reverification error and prompt the user for reverification. You can use our new useReverification()
helper for this:
Whenever Clerk identifies that a user needs to verify their credentials, a modal will appear, similar to the one shown in the image.
Get started
Visit the reverification guide to discover examples on how to integrate this feature into your application today.