OpenID Connect-based Federated Identity Authentication

This section describes the process and configuration of OpenID Connect-based federated identity authentication between an enterprise identity provider and the cloud system.

Configuring Federated Identity Authentication

To implement federated identity authentication between an identity provider and the cloud system, complete the following configuration:

  1. Establish a trust relationship and create an identity provider: Create OAuth 2.0 credentials in the enterprise identity provider, and create an identity provider in the cloud system.

  2. Configure identity conversion rules: Map the users, user groups, and permissions in the identity provider to the cloud system.

  3. Configure a login link: Configure a login link in the enterprise management system to allow users to access the cloud system through SSO.

Process of Federated Identity Authentication

Figure 1 shows the interaction between an identity provider and the cloud system after a user initiates an SSO request.

**Figure 1** Process of federated identity authentication

Figure 1 Process of federated identity authentication

As shown in the preceding figure, the process of federated identity authentication is as follows:

  1. A user uses a browser to open the login link obtained from IAM, and then the browser sends an SSO request to the cloud system.

  2. The cloud system searches for identity provider configurations based on the login link, and sends an OpenID Connect authorization request to the browser.

  3. The browser forwards the authorization request to the enterprise identity provider.

  4. The user enters their username and password on the login page displayed in the identity provider system. After the identity provider authenticates the user's identity, it constructs an ID token containing the user information, and sends the ID token to the browser as an OpenID Connect authorization response.

  5. The browser responds and forwards the authorization response to the cloud system.

  6. The cloud system parses the ID token in the authorization response, and issues a token to the user after identifying the group the user is mapped to, according to the configured identity conversion rules.

  7. If the login is successful, the user accesses the cloud system successfully.