View Source Code

Identities

Sign Up With Identity

Sign up with an identity. Creates a new user.

Request

  • info
    object
    • info.identityType
      string
    • info.identityId
      string
  • uniqueData
    object
  • additionalData
    object
  • username
    optional string

Response

  • userToken
    string
  • userId
    string

Usage

1. Install the module

2. Use this script

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