API
Change password
At the end of this guide, you will have a working change password endpoint that allows authenticated users to update their account password.
The change password component adds a password update endpoint for the authenticated user. Users must enter their current password for verification before setting a new one, preventing unauthorized password changes if a credential is compromised.
The component includes:
- Current password verification
- New password with confirmation field
- Constant-time password comparison for security
Note
This guide requires you to complete the Setup and Profile management guides first.