Signin
Used to get a JSON Web Token and perhaps a session token.
URL: /api/auth/signin
Method: POST
Auth required: No
Data constraints
Data example with stay logged in
Data example without stay logged in
#
Success responseCondition: 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 activatedCondition: User account is not activated.
Code: 400
Content example
The user has to wait until his account is activated by an administrator.
#
Change passwordCondition: User account is activated, username and password are correct, password change is activated
Code: 400
Content example
The user has to change his password. More here.
#
Error responseCondition: Username or password is wrong.
Code: 400
Content example
#
NotesA JSON Web Token is only for an hour valid. After expiring you can not use it anymore.