View Source Code

Auth Email

Verify and Login as (or Create) User (No Password)

Verify the email address code and return a userToken to AN account (creates a new account if one doesn't exist). Does not require a password.

Request

  • verificationToken
    string
  • code
    string

Response

  • userToken
    string

Usage

1. Install the module

2. Use this script

const data = await ctx.modules.auth_email.verify_login_or_create_no_pass({
  // Request body
});