Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Configuring an OIDC Authentication Provider

Updated on 2024-12-30 GMT+08:00

Introduction

OneAccess allows you to configure the OIDC protocol as the authentication provider to log in to each system for better login modes and experience.

OIDC is an interoperable authentication protocol based on the OAuth 2.0 family of specifications. For details, see Welcome to OpenID Connect.

This section describes how to integrate a third-party authentication provider with OneAccess through OIDC. OKta is used as an example.

Prerequisites

  • You have administrator permissions for the Okta platform. For details, see the documentation of the Okta platform.
  • You have permissions to access the administrator portal.

Creating an Application on Okta

Create an application and configure authorization information for OneAccess on the Okta platform to establish a trust on OneAccess.

  1. Log in to the Okta platform.
  2. On the Okta platform, choose Applications > Add Application, click Create New App, and set the application parameters. For details, see the documentation of the Okta platform.

    NOTE:

    When you configure the application, set Login redirect URIs to the invocation address automatically generated for the authentication provider that you have added in OneAccess. For details, see Table 1. For example: https://xxx.huaweioneaccess.com/api/v1/oidc/sso/2***71-8***-D***1.

    Figure 1 Configuring parameters
    Figure 2 Configuring login redirect URIs

  3. Configure the application parameters and authorize access to specific users. For details, see the documentation of the Okta platform.

    Figure 3 Configuring application parameters
    Figure 4 Authorizing users

Adding an OIDC Authentication Provider

Add an OIDC authentication provider and configure the application information in OneAccess.

  1. Log in to the administrator portal.
  2. In the navigation pane, choose Authentication > Authentication Providers > Enterprise Authentication Providers > OIDC, and set parameters.
  3. On the OIDC Authentication Providers page, click Add Authentication Provider in the upper right corner and set the parameters required.

    Figure 5 Configuring parameters
    Table 1 Configuring parameters

    Parameter

    Mandatory

    Description

    Icon

    No

    Upload a PNG, JPG, or GIF image whose size does not exceed 50 KB. The recommended size is 32 x 32 pixels.

    Display Name

    Yes

    Display name of the authentication provider, for example, OpenID Connect.

    Authentication Type

    Yes

    User authentication type. Select Initiated by user.

    NOTE:
    • The authentication type cannot be changed once specified.
    • If authentication is initiated from the application side, select Initiated by authentication provider.

    Public Key Format

    Yes

    Select a public key format based on the application.

    Public Key

    Yes

    Obtain the public key displayed in jwks_uri of OIDC or from the authentication provider administrator. The public key must match the selected public key format.

    • If the public key format is JWKURL, the public key is https://{Okta domain name}/oauth2/v1/keys.
    • If the public key format is JSON, the public key is the value in https://{Okta domain name}/oauth2/v1/keys.

    Signature Algorithm

    Yes

    The default value is RS256.

    Audience

    Yes

    If Authentication Type is set to Initiated by authentication provider, set this parameter to the value of Audience generated for the application created in 1.

    Process Type

    Yes

    Select a process type based on the application configuration. For example, select Authorization code from the drop-down list.

    response Type

    Yes

    The default value is code.

    Scope

    Yes

    Corresponds to the value of scopes of the OIDC authentication provider. The value of this parameter must contain openid. For example, openid email.

    AuthrozationUrl

    Yes

    Corresponds to the value of EMBED LINK of the OIDC authentication provider.

    Clientld

    Yes

    Corresponds to the value of Client ID of the OIDC authentication provider.

    PKCE

    Yes

    By default, this option is disabled. If Authentication Type is set to Initiated by user, enable this option.

    TokenUrl

    Yes

    Token address, which you can obtain from token_endpoint of OIDC. The format is https://{Okta domain name}/api/v1/oauth2/token.

    LogoutUrl

    No

    Global logout address of the application, which you can obtain from the application.

    Callback URL

    Yes

    Corresponds to the Login redirect URIs parameter of the application. The value of this parameter is automatically generated.

    Source Attribute

    Yes

    Unique user attribute on the OIDC authentication provider side. For example, Email.

    Related User Attribute

    Yes

    OneAccess user attribute that maps the user attribute of the OIDC authentication provider. For example, Email.

    No User Associated

    Yes

    Operation that will be performed if a user successfully logs in through OIDC authentication but fails to be associated with a system user. For example, Automatically create users.

    To map other attributes, such as full name, set No User Associated to Automatically create users, and add the desired mappings. For details, see Table 2.

    Table 2 Mapping parameters

    Parameter

    Description

    User Attribute

    Attribute (such as full name) in OneAccess that maps to the OIDC application.

    Mapping Type

    Mode of user attribute mapping between OneAccess and the OIDC application.

    NOTE:
    • If Mapping Type is set to Authentication Provider Attribute, Source Attribute is required.
    • If Mapping Type is set to Fixed Attribute Value, Fixed Attribute Value is required.
    • If Mapping Type is set to Script-based, Script is required.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback