Saltar al contenido principal

Request GitHub OAuth URL

GET 

/oauth/github/authorization

Build and return the GitHub OAuth authorization URL, using the configured client credentials and frontend callback, to which the browser should be redirected for authentication. mode selects the contract the callback will run: register (the default) registers or logs in, login never creates a user. Pass verification_token to start an invited account's setup instead: the returned URL carries a signed state bound to that token, and the callback only completes setup when GitHub's verified email matches the invited account's. binding (required) is the lowercase hex sha256 of the nonce the frontend start route keeps in a cookie on the starting browser; the signed state carries it and the callback refuses any other browser.

Request​

Responses​

Successful Response