ЕСОЗ - публічна документація
Email Sign In tests
n/n | Description | Test case Inputs | Excepted Results | Step by step Script | Actual Result | Actual Result FE |
---|---|---|---|---|---|---|
SIE1 | Sign In existing user with 2FA |
| 201, access_token |
| 201, access_token | |
SIE2 | Sign In existing user with 2FA and without factor |
| 201, init factor, OTP, access_token |
| 201 |
|
SIE3 | Sign In existing user without 2FA |
| 403, REQUEST_LOGIN_VIA_DS |
| 403, REQUEST_LOGIN_VIA_DS | 200 and "У даного користувача не має доступу" |
SIE4 | Sign In user without tax_id |
| 403, User is not registered |
| 403, User is not registered | 200 and "У даного користувача не має доступу" |
SIE5 | Sign In user with incorrect email |
| 403, User doesn't exists |
| 401, Identity, password combination is wrong |
401 - Користувача не знайдено |
SIE6 | Sign In blocked user |
| 403, User is blocked |
| 401, User blocked | 401- Користувача заблоковано. Зверніться в службу підтримки |
SIE7 | Sign In user with expired password |
| 401, The password expired |
| 401, The password expired for user: "" | 401 - Ваш пароль застарів. Необхідно змінити пароль |
SIE8 | Sign In user with authentication_factors.is_active=false |
| Error 403 "Log in via Email is not allowed" |
| 403, REQUEST_LOGIN_VIA_DS | 200 and "У даного користувача не має доступу" |
SIE9 | Sign In with incorrect client_id |
| 401, access denied | 401, User not found. | no error description | |
SIE10 | Sign in with incorrect_scopes |
| 401, scope is not allowed |
| 401, access_denied | -- |
ЕСОЗ - публічна документація