Email/Password Sign In
Let users sign in to your app with their email and a password
Let users sign in to your app with their email and password. This is Create’s default authentication method and requires no external setup.
Before You Start
Make sure you have:
A Create project with User Accounts turned on
Overview
Enable User Accounts
Prompt Create to add users, or turn on from logo menu > Settings > User Accounts
Enable Email/Password
By default, email/password is enabled. You can turn it off and prompt Create to remove it.
Add to your sign in pages
Make the login form look how you want
Test flow
Make sure login works
Turn on / off
Access Project Settings
- Click the 3-dot menu at the top of the chat
- Select “Project Settings”
Enable Email/Password Sign In
- Navigate to the Authentication section
- Find Email/Password Sign In toggle
- Make sure it’s turned on (or off if you want to remove it)
- Tap “Save”
Add Sign In UI
- Return to the chat
- Prompt Create with “Add email/password sign in” or “Remove email/password sign in”
- Create will update your sign-in pages automatically
Publish Your App
- Click the Publish button
- Review your changes
- Publish to make the feature live
How It Works
When users sign up with email/password:
-
The password is securely hashed using bcrypt before storage
-
The email and hashed password are stored in your database:
- Email in
auth_users.email
- Hashed password in
auth_accounts.password
- Account type set to “credentials”
- Email in
-
On sign in, Create:
- Hashes the provided password
- Compares it to the stored hash
- Creates a secure session if they match
Customizing the Form
You can customize the email/password form through chat:
Create will update the form while maintaining the secure authentication logic.
Testing
- Publish your changes
- Open your app in a new incognito window
- Go to the sign in page
- Try signing up with email/password
- Check the auth_users table to see your new user
Troubleshooting
FAQ
See Also
Was this page helpful?