Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


n/nDescriptionTest case InputsExcepted Results Step by step ScriptActual ResultActual Result FE
SIE1Sign In existing user with 2FA
  • email
  • password
  • otp
201, access_token
  1. Input email&password
  2. Input OTP
201, access_token
SIE2Sign In existing user with 2FA and without factor
  • email
  • password
  • factor
  • top
201, init factor, OTP,  access_token
  1. Input email&password
  2. Input factor
  3. input OTP
403, REQUEST_LOGIN_VIA_DS
201
  • enter factor
  • no sign in
SIE3Sign In existing user without 2FA
  • email
  • password
403, REQUEST_LOGIN_VIA_DS
  1. Input email&password
403, REQUEST_LOGIN_VIA_DS200  and "У даного користувача не має доступу"
SIE4Sign In user without tax_id
  • email
  • password
403, User is not registered
  1. Input email&password
403, REQUEST_LOGIN_VIA_DS User is not registered200  and "У даного користувача не має доступу"
SIE5Sign In user with incorrect email
  • email
  • password
403, User doesn't exists
  1. Input email&password
401, Identity, password combination is wrong

change "щось пішло не так" to "Користувач не знайден"

401 -  Користувача не знайдено

SIE6Sign In blocked user
  • email
  • password
403, User is blocked
  1. Input email&password
401, User blocked401- Користувача заблоковано. Зверніться в службу підтримки
SIE7Sign In user with expired password
  • email
  • password
401, The password expired
  1. Input email&password
401, The password expired for user: ""401 - Ваш пароль застарів. Необхідно змінити пароль
SIE8Sign In user  with authentication_factors.is_active=false
  • email
  • password
 Error 403  "Log in via Email is not allowed"
  1. Input email&password
403, REQUEST_LOGIN_VIA_DS200  and "У даного користувача не має доступу"
SIE9Sign In with incorrect client_id
  • incorrect clinet_id
401, access denied


Code Block
collapsetrue
"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.no error description
SIE10Sign in with incorrect_scopes
  • incorrect scopes
401, scope is not allowed 
  1. input correct client_id, email, password
  2. incorrect scopes
401, access_denied--