Quick Start
CloudBase Login Authentication provides a comprehensive user identity management and access control solution for your application. With built-in multiple login methods and security mechanisms, it helps you rapidly build a reliable user management system.
This article will introduce how to use CloudBase login authentication to rapidly implement user registration, login, management, and other features.
Enable Login Methods
First, navigate to CloudBase/Authentication to enable SMS verification code login or Email verification code login.

User Registration
Refer to User Registration
Account Login
After obtaining the account password at the login-required location in your project, execute the following code:
const loginState = await auth.signIn({
username: "your username",
password: "your password"
});