SuperTokens · Schema

ThirdPartySignInUpRequest

AuthenticationOpen SourceSession ManagementSocial LoginPasswordlessIdentityAuthorizationMulti-TenancyNode.jsSelf-Hosted

Properties

Name Type Description
thirdPartyId string Provider ID (e.g. google, github, apple)
thirdPartyUserId string User ID from the third-party provider
email object
tenantId string
View JSON Schema on GitHub

JSON Schema

supertokens-thirdpartysigninuprequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ThirdPartySignInUpRequest",
  "title": "ThirdPartySignInUpRequest",
  "type": "object",
  "required": [
    "thirdPartyId",
    "thirdPartyUserId",
    "email"
  ],
  "properties": {
    "thirdPartyId": {
      "type": "string",
      "description": "Provider ID (e.g. google, github, apple)"
    },
    "thirdPartyUserId": {
      "type": "string",
      "description": "User ID from the third-party provider"
    },
    "email": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "email"
        },
        "isVerified": {
          "type": "boolean"
        }
      }
    },
    "tenantId": {
      "type": "string"
    }
  }
}