auth-controller
Activate User
Checks the activation token and updates corresponding user password in the database. Now the user may start using his password to login. The response already contains the JWT activation and refresh tokens, to simplify the user activation flow and avoid asking user to input password again after activation. If token is valid, returns the object that contains JWT access and refresh tokens. If token is not valid, returns '400 Bad Request'.
post/api/noauth/activate
Query parameters
sendActivationMailboolean
Request body
Example request
{
"activateToken": "AAB254FF67D..",
"password": "secret"
}Response
OK
Example response
{
"token": "AAB254FF67D..",
"refreshToken": "AAB254FF67D.."
}