Skip to main content

Log in a user

Replace src/App.jsx with:
src/App.jsx

Validate password compliancy (optional)

Password compliancy rules define the requirements a password must meet, such as minimum length, and required uppercase, lowercase, number, or symbol characters. These rules are configured on your application and enforced both client-side and server-side. Before submitting a sign-up form, validate the password against your compliancy rules. The SDK fetches the rules from the server and checks the password locally:
You can also retrieve the raw compliancy configuration to build your own validation UI:
Replace src/App.jsx with:
src/App.jsx