Skip to main content
POST
Complete a social session

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
idempotencyKey
string<uuid>
required

Universally unique identifier (UUID v4) idempotency key. This key is utilized to ensure exactly-once execution of mutating requests.

Example:

"ba943ff1-ca16-49b2-ba55-1057e70ca5c7"

loginRequestId
string<uuid>
required

The loginRequestId returned by POST /v1/accounts/auth/loginRequests.

Example:

"3f9a6c1e-2b7d-4e8a-9c0f-5d1e2a3b4c5d"

idToken
string
required

The ID token your application received from the identity provider. It must carry the oidcNonce returned when the login was prepared.

Maximum string length: 8192
Example:

"eyJhbGciOiJSUzI1NiIsImtpZCI6IjEifQ.eyJpc3MiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20ifQ.c2lnbmF0dXJl"

clientEntityId
string<uuid>
required

The end customer the signed-in end user acts for. Use the clientEntityId returned when you created the end customer with Create a partner client (POST /v1/partner/clients). It must belong to your entity.

Circle permanently links the signed-in identity to this clientEntityId, and you can't change the link later. Read the value from your own backend session for the signed-in user. Never take it from user input.

Example:

"a3f1b2c4-d5e6-7890-abcd-ef1234567890"

Response

Successfully verified the social login.

data
object
required

A verified social session, ready for device registration.