POST
/
me
/
oauth
/
auth-tokens
Create an auth token via OAuth.
curl --request POST \
  --url https://console.gmicloud.com/api/v1/me/oauth/auth-tokens \
  --header 'Content-Type: application/json' \
  --data '{
  "provider": "google",
  "accessToken": "ya29.a0AfH6SMB..."
}'
{
"authToken": "eyJhbGciOiJIUzI1NiIsInR..."
}

Body

application/json

The request body for creating an auth token via OAuth.

The body is of type object.

Response

Successfully created an auth token for user via OAuth.

The response is of type object.