n/n | Description | Test case Inputs | Excepted Results | Step by step Script | Actual Result |
---|
SIE1 | Sign In existing user with 2FA | | 201, access_token | - Input email&password
- Input OTP
| 201, access_token |
SIE2 | Sign In existing user with 2FA and without factor | | 201, init factor, OTP, access_token | - Input email&password
- Input factor
- input OTP
| 201 |
SIE3 | Sign In existing user without 2FA | | 403, REQUEST_LOGIN_VIA_DS | - Input email&password
| 403, REQUEST_LOGIN_VIA_DS |
SIE4 | Sign In user without tax_id | | 403, User is not registered | - Input email&password
| 403, REQUEST_LOGIN_VIA_DS User is not registered |
SIE5 | Sign In user with incorrect email | | 403, User doesn't exists | - Input email&password
| 401, Identity, password combination is wrong |
SIE6 | Sign In blocked user | | 403, User is blocked | - Input email&password
| 401, User blocked |
SIE7 | Sign In user with expired password | | 401, The password expired | - Input email&password
| 401, The password expired for user: "" |
SIE8 | Sign In user with authentication_factors.is_active=false | | Error 403 "Log in via Email is not allowed" | - Input email&password
| 403, REQUEST_LOGIN_VIA_DS |
SIE9 | Sign In with incorrect client_id | | 401, access denied |
Code Block |
---|
| "grant_type": "password",
"client_id": "e2e1d2c8-9bac-43c6-adef-83239940b30a",
"email": "bogdana.konovalenko+6@gmail.com",
"password": "Qwerty123456789",
"scope": "app:authorize |
| 401, User not found. |
SIE10 | Sign in with incorrect_scopes | | 401, scope is not allowed | - input correct client_id, email, password
- incorrect scopes
| 401, access_denied |