Login

This page must be considered part of the iSHARE Framework

This page is considered normative and is therefore compliant with RFC 2119.

Allow Conformance Test Tool (CTT) to login

The /login endpoint is required in order to pass Conformance Test Tool (CTT). The endpoint allows user to authenticate himself using username and password. After successful authentication if user grants permit to requested scopes redirection to Service Provider should happen.

post

/login

Header parameters
Content-Typestringrequired

Defines request body content type. MUST be equal to application/x-www-form-urlencoded.

Example: x-www-form-urlencoded
Body
usernamestringrequired

Human user’s login name. Could be email, mobile phone number, nickname etc.

Example: username
passwordanyrequired

Human user’s password.

Example: password
Responses
curl -L \
  --request POST \
  --url 'https://isharetest.net/login' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'username=username&password=password'

No body

CTT is going to use low level of assurance because passing login when 2FA is enabled would be infeasible. Production environment should be way more secure and traditional authentication using credentials could be even disabled if there is a need to use more secure ways of logging in like biometrics, ID card logins etc.

It is not mandatory to have exactly the same parameter names because CTT supports any parameter names for credentials.

iSHARE documentation does not cover login failures because it’s only within Identity Providers scope.

Last updated