Create a user account with a hashed password and your own metadata
Render the SignUp component, or create the account from your server. There, accounts.create takes the email address, the name, and your own metadata, and createPassword sets the password on the new account. Auth assigns the account a unique ID, records the creation time, and stores the password only as a hash.
Impact
Your route handler returns the new account ID, while Auth stores the signup source and the plan on that account as metadata. Because Auth hashes the password, your database holds no password or password hash.
Prompt for a coding agent: Create accounts from the server with a password, and store the signup source and plan on each.
Select a file to view its contents