Configuration of OpenID Connect–based Federated Identity Authentication
This section describes the process and configuration of OpenID Connect–based federated identity authentication between an enterprise IdP and HUAWEI CLOUD.
Configuring Federated Identity Authentication
To implement federated identity authentication between an enterprise management system and HUAWEI CLOUD, complete the following configuration:
- Establish a trust relationship and create an identity provider: Create OAuth 2.0 credentials in the enterprise IdP, and create an identity provider in HUAWEI CLOUD.
- Configure identity conversion rules: Map the users, user groups, and their permissions in the enterprise IdP to HUAWEI CLOUD.
- Configure a login link: Configure a login link in the enterprise management system to allow users to access HUAWEI CLOUD through SSO.
Process of Federated Identity Authentication
Figure 1 shows the interaction between an enterprise management system and HUAWEI CLOUD after a user initiates an SSO request.
The process of federated identity authentication is as follows:
- A user uses a browser to open the login link obtained from IAM, and then the browser sends an SSO request to HUAWEI CLOUD.
- HUAWEI CLOUD searches for identity provider configurations based on the login link, and sends an OpenID Connect authorization request to the browser.
- The browser forwards the authorization request to the enterprise IdP.
- The user enters their username and password on the login page displayed in the enterprise IdP. After the enterprise IdP 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.
- The browser responds and forwards the authorization response to HUAWEI CLOUD.
- HUAWEI CLOUD parses the ID token in the authorization response, and issues a token to the user after identifying the group to which the user is mapped, according to the configured identity conversion rules.
- If the login is successful, the user accesses HUAWEI CLOUD successfully.
Last Article: OpenID Connect–based Federated Identity Authentication
Next Article: Step 1: Create an Identity Provider

Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.