Oauth:Google.Jwt.Authorize

GET /auth/google/authorize

Call this API for a link that allows the user to redirect to Google Sign In page, and then redirect back to the callback API.

Only valid users (aka appear in "whitelist") that allows to sign in with the application.

Query parameters

  • scopes array[string]

Responses

  • 200 application/json

    Successful Response

    Hide response attribute Show response attribute object
    • authorization_url string Required
  • 422 application/json

    Validation Error

    Hide response attribute Show response attribute object
    • detail array[object]
      Hide detail attributes Show detail attributes object
      • loc array[string | integer] Required
      • msg string Required
      • type string Required
GET /auth/google/authorize
curl \
 -X GET http://localhost:5000/auth/google/authorize
Response examples (200)
{
  "authorization_url": "string"
}
Response examples (422)
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}