Authing DocsDocuments
Concept
Guides
Development Integration
Application integration
Concept
Guides
Development Integration
Application integration
Old Version
Guides
  • Quick start

  • Authenticate the user

    • Use account password authentication
    • Use SMS verification code authentication
    • Use social login authentication
    • Use scan code login authentication

    • Certify in Mini Program
    • Implement single sign-on (SSO)
    • Single sign-on on the mobile terminal
    • Multi-factor authentication (MFA)

    • Extend the authentication process

    • Personalize the guard
  • Authority management for users

  • Authorization

  • Manage user accounts

  • Manage User Directory

  • Management Application

  • Become a source of federal authentication identity

  • Connect to an external identity provider (IdP)

  • Open up WeChat ecology
  • Migrate users to Authing

  • Management organization

  • Expandable capabilities

  • Audit Log

  • Configure security information

  • Configure user pool information

  • Deployment plan

  • Frequently Asked Questions FAQs

  1. Guides
  2. /
  3. Authenticate the user
  4. /
  5. Certify in Mini Program

¶ Certification in a small program

Update Time: 2022-10-10 11:16:11
Edit

In the applet, in addition to obtaining, modifying user information, mailbox mobile phone number login, adding user custom fields, etc., you can also use the applet environment uniqueGet the user's mobile phone number through WeChat、 Use WeChat Authorized Login、Log in with the mobile phone number authorized by WeChat methods.

¶ In Authing configuring a small program login

In order to use in a small program Authing Applets SDK, you need to be in WeChat open platform (opens new window) apply for a small program while Authing console (opens new window) Fill in the configuration of the applet.

For details, please see:In Authing configuring a small program login.

¶ Introduce Authing Applets SDK

For detailed installation processes, see:Install a small program SDK.

First step first initialization AuthenticationClient, initialization requires incomingAppId (application ID):

You can be on the console application view your own application list.

const { AuthenticationClient } = require('authing-wxapp-sdk')

const authing = new AuthenticationClient({
  appId: 'AUTHING_APP_ID',
})

You can use it next AuthenticationClient method, such as Use WeChat Authorized Login:

const { code } = await wx.login()
const data = await authing.loginByCode(code)
  • If the user logs in in a small program, and the user does not use the WeChat app log in to the same body to bind the same body, a new account will be created.
  • If the user logs in in the applet in the applet, the user uses the WeChat app log in to the same body to bind the same body, and will return the corresponding WeChat account.

For details, please see:Applets SDK.

Prev: Use the mini program to scan the code to log in to the website Next: Implement single sign-on (SSO)
  • In Authing configuring a small program login
  • Introduce Authing Applets SDK

User identity management

Integrated third-party login
Mobile phone number flash check (opens new window)
Universal login form component
Custom authentication process

Enterprise internal management

Single Sign On
Multi-factor Authentication
Authority Management

Developers

Development Document
Framework Integration
Blog (opens new window)
GitHub (opens new window)
Community User Center (opens new window)

Company

400 888 2106
sales@authing.cn
16 / F, Block B, NORTH STAR CENTURY CENTER, Beijing(Total)
room 406, 4th floor, zone B, building 1, No. 200, Tianfu Fifth Street, Chengdu(branch)

Beijing ICP No.19051205-1

© Beijing Steamory Technology Co.