View Source Code

Auth Email

Sign In with Email and Password

Sign in a user with an email and password.

Request

  • email
    string
  • password
    string

Response

  • userToken
    string
  • userId
    string

Usage

1. Install the module

2. Use this script

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