All Products
Search
Document Center

Identity as a Service:Account and password registration and login

Last Updated:Oct 23, 2026

This topic describes the account and password registration and login features of Alibaba Cloud CIAM, and helps developers quickly implement user registration, login, and password management. It covers the account registration process, password policy configuration, login authentication methods, and security protection measures.

Overview

Account and password is the most basic registration and login method. It is low-cost and suitable for all scenarios. Although it is less secure, it is still widely used today. IDaaS CIAM allows an account to register and log in with a username, email address, or mobile number plus a password.

Note

Prerequisite: SMS configuration. In the current registration process, IDaaS requires a verified mobile number as one of the account identifiers for registration. You must configure an SMS gateway in IDaaS so that IDaaS can send SMS verification codes. You can activate Short Message Service in Alibaba Cloud Communications and complete the configuration within 5 minutes.

Reference design of the account and password registration and login pages

The account and password registration page contains the Mobile Number field (with the +86 country code and the Send button), the SMS Verification Code field, and the Password field (with the hint "The password must contain at least 1 uppercase letter and be at least 7 characters in length"). At the bottom of the page, there are the By registering, you agree to the User Agreement check box and the Register Now button. The account and password login page provides two tabs at the top: Account and Password Login and SMS Verification Code Login. The page contains the Mobile Number and Password fields and the Forgot password? link. Below the fields are the Login and Register Now buttons. At the bottom of the page, four third-party login methods are supported: WeChat, Alipay, QQ, and Weibo.

Account and password registration

Service invocation sequence diagram

For related API documentation, contact the IDaaS product team.

Account and password login

For related API documentation, contact the IDaaS product team.

Other related configurations

Account and password brute-force prevention - CAPTCHA: To defend against brute-force password attacks on the same account, IDaaS applies the following default configuration: if the same account fails to log in twice consecutively within 3 minutes, subsequent logins require a CAPTCHA generated by IDaaS.

Required registration information configuration: By default, an IDaaS CIAM account must include mobile number information, and a verified mobile number must be used for registration.

Enable two-factor authentication for account and password login: For the account and password login method, IDaaS CIAM allows you to enable two-factor authentication for specified applications. An SMS verification code is used to verify the user identity again, which significantly improves access security.