HydraCore
API by router

Oauth

Github Login

Redirect to GitHub OAuth authorization. "With great power comes great responsibility." - Uncle Ben (about granting OAuth scopes)

GET
/auth/github

Response Body

curl -X GET "https://loading/auth/github"
null

Github Callback

Handle GitHub OAuth callback.

GET
/auth/github/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)

GET
/auth/google

Response Body

curl -X GET "https://loading/auth/google"
null

Google Callback

Handle Google OAuth callback.

GET
/auth/google/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"
    }
  ]
}