Skip to main content
POST
/
v1
/
api
/
auth
/
oauth2
/
google
Login with Google OAuth2
curl --request POST \
  --url http://localhost:3091/v1/api/auth/oauth2/google \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "idToken": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

JWT access token from POST /v1/api/auth/login

Body

application/json
idToken
string
required

Response

Google authentication successful

The response is of type object.