Authing DocsDocuments
Concept
workflow
Guides
Development Integration
Application integration
Concept
workflow
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)

      • MFA of one-time password (TOTP) based on timestamp algorithm
      • MFA based on SMS verification code
      • MFA based on email verification code
      • Access MFA through SDK
    • 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. Multi-factor authentication (MFA)
  6. /
  7. MFA of one-time password (TOTP) based on timestamp algorithm

¶ MFA: Time-Based One-time Password (TOTP) Authentication

Update Time: 2025-05-14 08:32:28
Edit

¶ Summary

Multi-factor authentication (MFA) is a security system that is a secondary identity verification for verifying the legitimacy of an operation. For example, remote login requires mobile phone SMS verification. Time-Based One-time Password (TOTP) authentication is a way of MFA that constantly generates a new 6-digit password based on a time interval by device.

¶ Before the start

  1. Register an Authing account
  2. Complete the creation of the user pool and application

¶ Set up a new MFA

1. Login in to https://<your_url>.authing.cn. Then access User Center https://<your_url>.authing.cn/u

2. Click Set up new MFA, then scan the QR code to add MFA with Google Authenticator/Microsoft Authenticator. Here is a sample with Microsoft Authenticator.

Choose another account

3. Add MFA after scanning the code automatically, you can view the MFA just added in the list

4.Click "Next" in the user center, enter the dynamic password displayed on the newly added MFA, complete the confirmation binding, and click "Next"

View MFA password on mobile

Enter the MFA password on the binding page

5.Be sure to keep the recovery code shown here safely. If you lose your MFA in the future, you can use this recovery code to restore account access. Click "Next".

Success

¶ Login in with MFA

1. Please sign out: https://<your_url>.authing.cn/oidc/session/end. Then access https://<your_url>.authing.cn. You can log in with the account that has just been bound to MFA, and you will be prompted to enter the security password for secondary authentication.

2. Please enter the correct 6-digit password, complete the secondary authentication, and log in.

MFA is successfull

¶ Remove MFA

1. Click "Unbind" to remove MFA

Remove MFA successfully

Prev: Multi-factor authentication (MFA) Next: MFA based on SMS verification code
  • Summary
  • Before the start
  • Set up a new MFA
  • Login in with MFA
  • Remove MFA

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.