View Source Code

Identities

Sign In With Identity

Sign in to a user with an identity.

Request

  • info
    object
    • info.identityType
      string
    • info.identityId
      string
  • uniqueData
    object

Response

  • userToken
    string
  • userId
    string

Usage

1. Install the module

2. Use this script

const data = await ctx.modules.identities.sign_in({
  // Request body
});