Verify social verification

POST /api/experience/verification/social/{connectorId}/verify

Verify the social authorization response data and get the user's identity data from the social provider.

Path parameters

  • connectorId string Required

    The unique identifier of the connector.

application/json

Body Required

  • connectorData object Required

    Arbitrary data returned by the social provider to complete the verification process.

  • The ID of the Social verification record.

Responses

  • 200 application/json

    The social authorization response has been successfully verified.

    Hide response attribute Show response attribute object
    • verificationId string Required

      The unique verification ID of the SocialVerification record. This ID is required when identifying the user in the current interaction.

  • The social authorization response is invalid or cannot be verified.

  • The social connector is not found.

  • Connector error. Failed to verify the social authorization response or fetch the user info from the social provider.

POST /api/experience/verification/social/{connectorId}/verify
curl \
 -X POST https://[tenant_id].logto.app/api/experience/verification/social/{connectorId}/verify \
 -H "Content-Type: application/json" \
 -d '{"connectorData":{},"verificationId":"string"}'
Request examples
{
  "connectorData": {},
  "verificationId": "string"
}
Response examples (200)
{
  "verificationId": "string"
}