Overview of Virtual User SSO via OpenID Connect
This section describes how to configure identity federation and how identity federation works.
Configuring Identity Federation
The following describes how to configure your enterprise IdP and Huawei Cloud to trust each other.
- Create an IdP entity and establish a trust relationship: Create OAuth 2.0 credentials in the enterprise IdP. On Huawei Cloud, create an IdP entity and establish a trust relationship between the two systems.
- Configure identity conversion rules: Configure identity conversion rules on Huawei Cloud to map the users, user groups, and permissions in the enterprise IdP to Huawei Cloud.
- Configure a federated login entry: Configure the login link in the enterprise IdP to allow enterprise users to be redirected to Huawei Cloud from your enterprise management system.
How Identity Federation Works
Figure 1 shows the identity federation process between an enterprise management system and Huawei Cloud.
The process of identity federation is as follows:
- A user opens the login link obtained from the IAM console in the browser. The browser sends an SSO request to Huawei Cloud.
- Huawei Cloud authenticates the user against the configuration of the enterprise IdP and constructs an OpenID Connect request to the browser.
- The browser forwards the OpenID Connect 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 OpenID Connect response to Huawei Cloud.
- Huawei Cloud parses the ID token in the OpenID Connect response, identifies the IAM user group mapping to the user based on the identity conversion rules, and issues a token to the user.
- The SSO login is successful.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot