Skip to content

Start Google Oauth

GET
/auth/google/start
curl --request GET \
--url 'https://example.com/auth/google/start?state=example'

Validate OAuth state and redirect the user to Google consent.

state
required
State
string

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}