This topic describes the scenario, process, and configuration of user-based Single Sign On (SSO).
In scenarios where Alibaba Cloud and the identity management system of an enterprise work together to perform user-based SSO, Alibaba Cloud is the service provider (SP) and the enterprise system is the identity provider (IdP). User-based SSO allows an employee in the enterprise to access Alibaba Cloud as a RAM user.
User-based SSO process
As shown in the preceding figure, after the administrator configures user-based SSO, the employee (Alice) can log on to Alibaba Cloud after the following steps are completed:
- Alice logs on to the Alibaba Cloud console through a browser, and Alibaba Cloud returns an SAML authentication request to the browser.
- The browser forwards the SAML authentication request to the IdP.
- The IdP prompts Alice to log on and returns an SAML response to the browser.
- The browser forwards the SAML response to the SSO service.
- Through the SAML mutual trust configuration, the SSO service verifies the digital
signature in the SAML response to check the authenticity of the SAML assertion, and
then matches the identity of the RAM user according to the value of
NameIDin the SAML assertion.
- The SSO service returns the URL of the Alibaba Cloud console to the browser.
- The browser redirects to the Alibaba Cloud console.
Note In step 1, the employee does not necessarily have to log on to Alibaba Cloud. Instead, the employee can click the link on the IdP portal to send an SAML authentication request to the IdP and access the Alibaba Cloud console.
User-based SSO configuration
- To make sure your IdP is trusted by Alibaba Cloud, you must configure the IdP in the
Alibaba Cloud console.
For more information, see Configure the SAML of an account.
- To make sure Alibaba Cloud is trusted by the IdP, you must configure Alibaba Cloud
as a trusted SAML SP and configure an SAML assertion in your IdP.
For more information, see Configure the SAML of an IdP during user-based SSO.
- After the IdP and Alibaba Cloud are configured, you must create RAM users to match
your IdP through SDK, CLI, or logging on to the RAM console.
For more information, see Create a RAM user.
The processes of configuring an SAML assertion and an SAML SP vary according to the IdP system. For more information about how to implement user-based SSO from Microsoft Active Directory Federation Service (AD FS) to Alibaba Cloud, see Implement user-based SSO by using AD FS.