POST
/
frontend
/
api
/
v1
/
auth
/
oauth-sign-in
curl --request POST \
  --url https://{host}/frontend/api/v1/auth/oauth-sign-in \
  --header 'Content-Type: application/json' \
  --data '{
  "check-auth": true,
  "current-user": null,
  "email": "jsmith@example.com",
  "logout-other": false,
  "long-term-token": true,
  "oauth-provider-token": {
    "provider": "<string>",
    "token": "<string>"
  },
  "ret-url": null
}'
{
  "api-token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "check-auth-result": {
    "message": "<string>",
    "ok": true
  },
  "current-user": null,
  "email": "<string>",
  "jwt-token": {
    "expire": "2024-11-01T16:39:02Z",
    "token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy.zzzzzzzzzzzzzzzzzzz-zzzzzzzzzzzzzzzzzzzzzzz"
  },
  "oauth-provider-tokens": [
    {
      "provider": "<string>",
      "token": "<string>"
    }
  ],
  "ret-url": null,
  "status": "anonymous",
  "user-id": 1
}

Cookies

oauth-provider-name
string
oauth-email
string
oauth-provider-token
string

Body

Response

200 - application/json

OK

The response is of type object.