n8n auth workflow

Test_Console

POST /webhook/register

Add new user

Creates a new user and stores a hashed password in Postgres using scrypt.

POST /webhook/reset-password-request

Request password reset

Generates a token, saves it to Postgres, and sends a Gmail reset email to the address if it exists.

POST /webhook/reset-password-confirm

Set new password

Paste the token from the reset email URL, enter the new password. The token is deleted after use.