API by router
Oauth
Github Login
Redirect to GitHub OAuth authorization. "With great power comes great responsibility." - Uncle Ben (about granting OAuth scopes)
Response Body
curl -X GET "https://loading/auth/github"nullGithub Callback
Handle GitHub OAuth callback.
Query Parameters
code?Code
state?State
error?Error
Response Body
curl -X GET "https://loading/auth/github/callback?code=string&state=string&error=string"null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Google Login
Redirect to Google OAuth consent screen. "I feel the need... the need for speed." - Maverick, Top Gun (and also the need for Google authentication)
Response Body
curl -X GET "https://loading/auth/google"nullGoogle Callback
Handle Google OAuth callback.
Query Parameters
code?Code
state?State
error?Error
Response Body
curl -X GET "https://loading/auth/google/callback?code=string&state=string&error=string"null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}