Auth
This page describes all endpoint in Auth Controller
GET
POST
Authenticates a user, verifies their captchaToken, and returns tokens for session management along with their two-factor authentication status.
captcha_tokenSuccessful authentication
Invalid captcha token or authentication failure
user.email@gmail.comuser12345JohnDoeUser successfully registered
Invalid input or user already exists
Account was deleted
google_oauth_tokenUser successfully registered
OAuth provider account already exists
Account was deleted
facebook_oauth_tokenUser successfully registered
OAuth provider account already exists
Account was deleted
user.email@gmail.comPassword reset link sent successfully
{"message":"Password restoration email send","description":"Check your email for further instructions on how to change your password."}User is not registered
newSecurePassword123someRandomToken123Password restored successfully
{"message":"Password restored successfully","description":"Your password has been changed successfully."}Validation failed
Internal server error
New password for the user
newSecurePassword123Token for registration completion
someRandomToken123First name of the user
JohnLast name of the user
DoeInvitation finished successfully
{"message":"Invitation finished successfully","description":"Your account has been activated and your password has been set successfully."}Validation failed
Internal server error
team_idTeam changed successfully
Invalid team ID
Forbidden. This error occurs when the user want to change the team in demo mode or not a member of that team.
Last updated