Change password after / with signin
When the user has to change his password before he can signin.
URL: /api/auth/changePasswordAfterSignin
Method: POST
Auth required: No
Data constraints
Data example with stay logged in
Data example without stay logged in
Success response#
Condition: Username and password is correct and account is activated.
Code: 200
Content example with stay logged in
Content example without stay logged in
Warning response#
Account not activated#
Condition: User account is not activated.
Code: 400
Content example
The user has to wait until his account is activated by an administrator.
Error response#
Username or password is wrong#
Condition: Username or password is wrong.
Code: 400
Content example
User does not need to change his password#
Condition: User tries to change his password after signin but does not need to.
Code: 400
Content example
Notes#
A JSON Web Token is only for an hour valid. After expiring you can not use it anymore.