Auth
This page describes all endpoint in Auth Controller
GET
User profile retrieved successfully
1user.email@gmail.comJohnDoe["User"]truehttps://example.com/photo.jpgUnauthorized
POST
Authenticates a user, verifies their captchaToken, and returns tokens for session management along with their two-factor authentication status.
captcha_tokenSuccessful authentication
access_tokenrefresh_tokentrueInvalid captcha token or authentication failure
user.email@gmail.comuser12345JohnDoeUser successfully registered
Invalid input or user already exists
Account was deleted
google_oauth_tokenSuccessful authentication
access_tokenrefresh_tokentrueTo proceed, please sign up.
google_oauth_tokenUser successfully registered
OAuth provider account already exists
Account was deleted
facebook_oauth_tokenSuccessful authentication
access_tokenrefresh_tokentrueTo proceed, please sign up.
facebook_oauth_tokenUser successfully registered
OAuth provider account already exists
Account was deleted
valid_refresh_tokenTokens refreshed successfully
new_access_tokennew_refresh_tokentrueUnauthorized
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
new_access_tokennew_refresh_tokentrueInvalid 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