Open NathanFlurry opened 1 month ago
@greptileai
The userToken
in auth.authEmailPasswordless
is used to fetch the existing user if a session token is provided. It is validated using the authenticate_user
script from the users
module.
/modules/auth/scripts/auth_email_passwordless.ts /modules/users/scripts/authenticate_user.ts
OGB-67 Document what `userToken` is used for in `auth.authEmailPasswordless`