html
response
redirected to login page or authorization page of github.
parameters
| name |
description |
| authentication_credential |
the authentication credential |
response cookies
| name |
description |
| authentication_credential |
the authentication credential |
response
redirected to https://yorkyao.xyz/success.html.
response
redirected to https://yorkyao.xyz/success.html.
parameters
| name |
description |
| client_id |
client id |
| scopes |
scopes seperated by comma |
| state |
random string |
| code |
optional |
response
- if not logged in, redirected to https://yorkyao.xyz/login.html.
- if not authorized, redirected to https://yorkyao.xyz/authorization.html.
- redirected to application with
code and state.
| name |
type |
description |
| pageName |
string |
login, authorization or null |
| code |
string |
|
parameters
| name |
description |
| redirect_url |
redirect url |
| scopes |
scopes seperated by comma |
| code |
|
| application_id |
the id of the application |
parameters
| name |
description |
| message |
the error message |
parameters
| name |
description |
| redirect_url |
redirect url |
parameters
| name |
description |
| clear_previous_status |
will clean the login result in session storage when is √ |
| redirect_url |
redirect url |