Skip to content
Sign in Create account

Handle Google sign-in callback

GET /api/v1/auth/social/google/callback

Consumes the provider callback and redirects to the configured return target with a one-time exchange code.

This operation needs no authentication.

Parameters

  • state string query

    One-time OAuth state.

    Length: at most 128 characters
  • code string query

    Authorization code returned by Google.

    Length: at most 2048 characters
  • error string query

    Provider error when authorization was denied.

    Length: at most 128 characters

Responses

302 Redirect to configured return target.

400 The sign-in state is invalid or expired.

application/json PrivacyError

  • error object required
    • code string
    • kid string
    • message string
    • ref string
    • type string
  • errors object

    Other keys: array of string

  • message string
429 The request rate limit was exceeded.

application/json PrivacyError

  • error object required
    • code string
    • kid string
    • message string
    • ref string
    • type string
  • errors object

    Other keys: array of string

  • message string

text/html string

501 Social sign-in is not configured.

application/json PrivacyError

  • error object required
    • code string
    • kid string
    • message string
    • ref string
    • type string
  • errors object

    Other keys: array of string

  • message string