Manage identity sources

Updated at:
Copy as MD

An identity source is the authentication channel that enterprise members use to log on to the Agent Data Gateway console. This topic describes how to add and manage identity sources, bind enterprise identity providers (IdPs), and enable members to log on to the console through an identity source.

Overview

Identity source management allows you to manage enterprise identity sources and configure how team members log on to the Agent Data Gateway console. After you complete the configuration, the system generates a dedicated logon URL for the identity source. Enterprise members use this URL to log on to the console with their enterprise accounts, such as DingTalk, WeCom, Feishu, AD, LDAP, or an enterprise IdP.

Agent Data Gateway supports the following two types of identity sources:

Identity source type

Source

Editable or deletable

Description

Alibaba Cloud RAM (built-in)

Automatically maintained by the system

No

The logon channel for Alibaba Cloud accounts and RAM users. No logon URL or logon validity period configuration is required.

IDaaS identity source

Added by the administrator

Yes

Created from an Alibaba Cloud IDaaS (EIAM) instance. It carries enterprise SSO logon.

The overall workflow of an identity source consists of the following three steps:

  1. The administrator adds an identity source: Select or create an IDaaS instance and enter the identity source name. The system then generates a logon URL.

  2. The administrator adds members: On the Add Members page in the console, bind inbound identity providers (IdPs) such as DingTalk, WeCom, Feishu, AD, OpenLDAP, OIDC, and SAML.

  3. Members log on: Members visit the logon URL and log on to the console with their enterprise accounts. On the first logon, the system automatically creates a gateway user.

Core concepts

Concept

Description

Identity source

The enterprise logon channel. Each identity source has an independent logon URL and logon validity period.

IDaaS instance

An Alibaba Cloud IDaaS (EIAM) instance that carries the enterprise organization and accounts.

Region

The region where the IDaaS instance resides. This region is independent of the Agent Data Gateway region.

Identity source name

The display name of the identity source, which is used to distinguish between multiple identity sources (such as "Company SSO" and "Partner Logon"). The name can be up to 128 characters in length.

Logon entry code

The last path segment of the logon URL. It must be globally unique. If you leave this parameter empty, the system automatically generates a 10-character lowercase random code.

Logon URL

The logon entry point for members, in the format https://<console domain>/login/<logon entry code>. You can copy the URL with one click and distribute it to members.

Logon validity period

The absolute validity period of the browser session after a single logon. After the period expires, members must log on again.

Prerequisites

  • Identity source management requires administrator permissions. For more information about user roles, see Manage users.

  • Agent Data Gateway uses an IDaaS instance that is dedicated to the cloud service. Using an instance that you purchased or created in the IDaaS (EIAM) console is not supported.

View the identity source list

  1. Log on to the AI-Native Database Service console.

  2. In the left-side navigation pane, click Agent Data Gateway to go to the Agent Data Gateway console.

  3. In the left-side navigation pane of the console, choose Identity and Permissions > Identity Source Management.

The Identity Source Management page displays all identity sources under the current Alibaba Cloud account. On this page, you can add identity sources and perform operations on existing identity sources, such as editing, adding members, viewing members, and deleting.

Add an identity source

  1. On the Identity Source Management page, click + Add Identity Source.

  2. Select an IDaaS instance. If no IDaaS instance is available under the current Alibaba Cloud account, the system automatically creates one for you.

  3. Configure the logon information. The following table describes the parameters.

    Parameter

    Required

    Constraints

    Description

    Identity Source Name

    Yes

    No more than 128 characters

    The display name of the identity source, such as "Company SSO".

    Logon Validity Period

    No

    30 minutes to 24 hours

    The absolute validity period of the browser session after a single logon. Default value: 8 hours.

    Logon Entry Code

    No

    See the logon entry code rules below

    The last path segment of the logon URL. If you leave this parameter empty, the system automatically generates a 10-character lowercase random code.

    The logon entry code must meet the following rules:

    • It must be 9 to 64 characters in length and can contain only lowercase letters (uppercase letters are automatically converted to lowercase), digits, and hyphens (-).

    • It must start and end with a letter or a digit. Consecutive hyphens (--) are not allowed.

    • It cannot be one of the following reserved words: admin, api, oauth, gateway, system, dms, aliyun, internal, static, assets, public, health, login, logout, t, debug, undefined, or null.

  4. Complete the configuration and submit it. The system assigns a logon URL to the identity source. You can copy this URL from the identity source list and distribute it to team members.

Add members

  1. In the Actions column of the target identity source in the identity source list, click Add Members.

  2. Select the enterprise identity provider (IdP) that you want to bind, click Add, and follow the guided steps to complete the binding. The following table lists the supported IdPs.

    Category

    Available IdPs

    Instant messaging and office platforms

    DingTalk (third-party app), DingTalk (first-party app), WeCom, Feishu, and Lark (the international version of Feishu)

    Enterprise directories

    AD and OpenLDAP

    Standard-protocol IdPs

    OIDC IdPs (such as Azure AD and Okta) and SAML IdPs (such as Okta and ADFS)

    Others

    Alibaba Cloud SASE

After the binding is complete, the enterprise organization and accounts are synchronized to Agent Data Gateway. Members can log on by scanning a QR code, through the workbench, or with an enterprise directory account.

Manage identity sources

You can perform the following operations on an identity source:

  • Edit an identity source: In the Actions column of the target identity source, click Edit to modify the identity source name, logon entry code, and logon validity period.

    • After you modify the logon entry code, the original logon URL immediately becomes invalid. You must redistribute the new URL to members.

    • After you modify the logon validity period, the change takes effect only for new logon sessions and does not affect sessions that have already been issued.

  • View members: In the Actions column of the target identity source, click View Members to view the IdPs that are bound to the identity source and their running status.

  • Delete an identity source: In the Actions column of the target identity source, click Delete.

    Warning

    After deletion, the logon URL of the identity source immediately becomes invalid, and members can no longer log on to the console through that URL.

Member logon process

After the administrator completes the configuration, members log on as follows:

  1. A member opens the distributed logon URL https://<console domain>/login/<logon entry code>.

  2. The browser automatically redirects to the enterprise IdP (such as a DingTalk QR code page or an enterprise account password page) to complete authentication.

  3. After authentication succeeds, the browser redirects back to the Agent Data Gateway console.

  4. On the first logon, the system automatically creates a gateway user for the enterprise identity and grants the standard user role by default.