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.
Defines request body content type. MUST be equal to application/x-www-form-urlencoded.
x-www-form-urlencodedHuman user’s login name. Could be email, mobile phone number, nickname etc.
usernameHuman user’s password.
passwordLogin was successful and single page application will be responsible for redirection to returnUrl parameter.
No content
Login was successful and back-end application redirects user to returnUrl parameter by itself.
authentication is required and has failed or has not yet been provided.
POST /login HTTP/1.1
Host: isharetest.net
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 45
"username='username'&password='password'"No content
Last updated