latestOpenAPI 3.1.0Apache License Version 2.02026-08-17498525913.3 KB

40169ccdec5c

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

activateTokenstring

The activate token to verify

passwordstring

The new password to set

Example request

{
  "activateToken": "AAB254FF67D..",
  "password": "secret"
}

Response

OK

tokenstring

The JWT Access Token. Used to perform API calls.

refreshTokenstring

The JWT Refresh Token. Used to get new JWT Access Token if old one has expired.

scope'SYS_ADMIN' | 'TENANT_ADMIN' | 'CUSTOMER_USER' | 'REFRESH_TOKEN' | 'PRE_VERIFICATION_TOKEN' | 'MFA_CONFIGURATION_TOKEN'

Example response

{
  "token": "AAB254FF67D..",
  "refreshToken": "AAB254FF67D.."
}