Alibaba Cloud IDaaS supports System for Cross-domain Identity Management (SCIM) synchronization. With IDaaS, you can synchronize your enterprise's existing account data, such as DingTalk, Lark, and AD, to Resource Access Management (RAM). For more information, see Identity Providers. This topic uses AD as an example to describe how to synchronize accounts to RAM by using SCIM.
Step 1: Activate an IDaaS instance
Log on to the Alibaba Cloud IDaaS management console. You can also use the product and service navigation pane to find Application Identity Service and click it to open the Application Identity Service management console.
Click Create an instance for free.
In the Application Identity Service console, in the left-side navigation pane, choose EIAM, and then click the IDaaS tab.
Step 2: Synchronize AD data to IDaaS
This topic uses AD as an example. Select the appropriate option based on your enterprise's actual requirements:
Synchronize DingTalk account data to IDaaS: Connect to DingTalk.
Synchronize WeCom account data to IDaaS: Connect to WeCom.
Synchronize Lark account data to IDaaS: Connect to Feishu.
Synchronize AD account data to IDaaS: Connect to AD.
Synchronize OpenLDAP account data to IDaaS: Connect to OpenLDAP.
Synchronize account data from international identity providers such as Okta and Azure to IDaaS: Connect to an OIDC identity provider.
If you need to sign in using AD authentication, make sure that delegated authentication is enabled. For more information, see Log on to third-party applications by using AD/LDAP authentication.
After synchronization is complete, you can view the synchronized accounts on the Accounts page.
Step 3: Synchronize data from IDaaS to RAM
After you import your existing account data into IDaaS, you can synchronize the imported accounts to RAM by using the SCIM protocol. For the integration procedure, see Synchronize accounts to RAM by using SCIM.
Step 1: Create and authorize an OAuth application in the RAM console
-
Create an OAuth application.
-
Log on to the RAM console.
-
In the left-side navigation pane, choose .
-
On the Enterprise Applications tab, click Create Application.
-
On the Create Application page, set the application parameters.
-
Enter an Application Name and a Display Name.
-
For Application Type, select Native Application.
-
Set the Access Token Validity Period.
-
Set the Refresh Token Validity Period.
-
-
Click Create Application.
-
-
Authorize the application scope.
-
On the Enterprise Applications tab, click the name of the target application.
-
On the OAuth Scope tab, click Add OAuth Scopes.
-
In the Add OAuth Scopes panel, select /acs/scim.
-
Click OK.
-
-
Create an application secret.
-
Click the App Secrets tab and then click Create Secret.
-
In the Create Secret dialog box, view and copy the application secret, and then click close.
ImportantThe application secret (AppSecretValue) is displayed only once. Copy and store it securely, because it cannot be retrieved later.
-
Step 2: Configure SCIM synchronization in IDaaS
In the left-side navigation pane, choose Applications to go to the SCIM API configuration page. The egress IP address displayed at the top of the page is 112.124.239.96/27. In SCIM Base URL, enter the SCIM service address, such as https://scim.alibabacloud.com. For API Authorization, select OAuth 2.0 Client Credentials. In Token Endpoint, enter the token URL, such as https://oauth.aliyun.com/v1/token. For Authentication Method, select client_secret_basic, and enter the corresponding client_id and client_secret. In the Enabled Operations section, select Create Account (CREATE /Users), and then click Save.
Step 3: Synchronize the accounts
Click Push Now to synchronize the accounts within the synchronization scope to RAM.
On the synchronization configuration page, make sure that the Enabled Operations section has Create Account CREATE /Users, Update Account UPDATE /Users, and Delete Account DELETE /Users selected, and that the Full Push Scope section has Account selected.