Versions Compared

Key

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


n/nDescriptionTest case InputsExcepted Results Step by step ScriptActual Result
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
SIE3Sign In existing user without 2FA
  • email
  • password
201, init factor, OTP,  access_token403, REQUEST_LOGIN_VIA_DS
  1. Input email&password
403, REQUEST_LOGIN_VIA_DS
SIE4Sign In user without tax_id
  • email
  • password
403, User is not registered
  1. Input email&password
403, REQUEST_LOGIN_VIA_DS
SIE5Sign In user with incorrect email
  • email
  • password
403, User doesn't exists
  1. Input email&password
401, Identity, password combination is wrong
SIE6Sign In blocked user
  • email
  • password
403, User is blocked
  1. Input email&password
401, User blocked
SIE7Sign In user with expired password
  • email
  • password
401, The password expired
  1. Input email&password
401, The password expired for user: ""
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_DS
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.
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

...