auth-google

Auth Google

Authenticate via Google OAuth.

Exchanges a Google authorization code for an ID token, verifies it, resolves the email to a local Gnosari user, and returns a session JWT.

post/api/v1/auth/google

Request

  • Base URL: https://api.gnosari.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.gnosari.com/api/v1/auth/google
  • Auth: one of:
    • HTTP bearer
    • API key in header X-AUTH-TOKEN

Request body

codestring required
redirect_uristring required
localestring nullable

Response

Successful Response

tokenstring required

Changes

No recorded changes to this operation across all 1 revision of this API.