Identity authentication integration
Connect your enterprise identity system to allow employees to sign in to their mailboxes with their enterprise accounts.
This feature is available only in the AI Exclusive Edition. For more information about edition differences, see Version Introduction.
Configuring an identity source affects the sign-in method for all users. This task requires professional knowledge. Proceed with caution.
Identity authentication integration
By integrating with your enterprise identity system, you can allow employees to sign in to their mailboxes using a single set of credentials. This simplifies the sign-in process, eliminates the need to remember multiple passwords, and improves productivity.
In this process, your enterprise identity system acts as an identity provider (IdP).
Enterprise IdP sign-in process
After you configure the integration, the sign-in process using the enterprise IdP is as follows:
Redirect: When an employee visits your organization's custom email sign-in URL, they are automatically redirected to your enterprise IdP's sign-in page.
Request: The employee enters their enterprise account credentials on the IdP sign-in page and submits them.
Verification: The IdP verifies the user's identity.
Authorization: After successful verification, the browser sends temporary credentials to the mail server. The mail server exchanges these credentials with the IdP for the employee's email account information, authorizes access, and completes the sign-in.
Supported enterprise IdP types
Alibaba Mail supports the following standard authentication protocols:
Microsoft Active Directory (AD)
OIDC
OAuth
Your enterprise IdP must strictly adhere to the chosen protocol. If you use a third-party product such as Alibaba Cloud IDaaS, Authing, or Okta, compatibility issues may arise. We recommend that you first attempt the configuration. If you encounter errors after confirming that your configuration is correct, contact Alibaba Mail support. We will optimize our service to support more third-party IDaaS solutions.
Choosing an enterprise IdP type
First, determine your integration goal: do you want the IdP to manage the entire authentication process, or only account and password verification?
If your IdP does not have a sign-in page and you only want it to handle account and password verification, select AD authentication.
If your IdP has a sign-in page and you want it to manage the entire sign-in process, including account and password verification, high-risk threat detection, and secondary verification (SMS), select OIDC or OAuth authentication.
Second, identify the capabilities of your current enterprise IdP.
If your enterprise IdP supports OIDC, select OIDC authentication.
If your enterprise IdP supports OAuth, first determine whether it can be upgraded to support OIDC. If so, OIDC is the preferred integration method. Otherwise, select OAuth authentication.
If your enterprise IdP does not currently support OIDC or OAuth, we recommend that you implement OIDC for the integration.
Enterprise identity source integration
Procedure

Step 1: Preparation
Alibaba Mail currently supports OIDC, Microsoft AD, and OAuth. If your identity source uses OIDC or OAuth, you must complete the prerequisite steps in Alibaba Mail.

Select Application

Step 2: Configure connection parameters
Enter connection settings such as server and authentication information.


Step 3: Enable identity source
After you confirm that the settings are correct, enable the identity source. All users will then be required to use the new sign-in method.