html

https://yorkyao.xyz/login_with_github

response

redirected to login page or authorization page of github.

https://yorkyao.xyz/login_with_authentication_credential

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.

https://yorkyao.xyz/github_code

response

redirected to https://yorkyao.xyz/success.html.

https://yorkyao.xyz/oauth/authorize

parameters

name description
client_id client id
scopes scopes seperated by comma
state random string
code optional

response

  1. if not logged in, redirected to https://yorkyao.xyz/login.html.
  2. if not authorized, redirected to https://yorkyao.xyz/authorization.html.
  3. redirected to application with code and state.

for test environment

name type description
pageName string login, authorization or null
code string

https://yorkyao.xyz/authorization.html

parameters

name description
redirect_url redirect url
scopes scopes seperated by comma
code
application_id the id of the application

https://yorkyao.xyz/error.html

parameters

name description
message the error message

https://yorkyao.xyz/index.html

https://yorkyao.xyz/invite.html

https://yorkyao.xyz/login.html

parameters

name description
redirect_url redirect url

https://yorkyao.xyz/new_organization.html

https://yorkyao.xyz/success.html

parameters

name description
clear_previous_status will clean the login result in session storage when is
redirect_url redirect url

https://yorkyao.xyz/user.html

https://yorkyao.xyz/authorized.html

https://yorkyao.xyz/access_tokens.html

https://yorkyao.xyz/registered.html