Identity Sources
OneAccess synchronizes identity data using the "Upstream – Midstream – Downstream" model. Upstream refers to an identity source for enterprise management, midstream is OneAccess, and downstream indicates an application system that synchronizes identity data with the upstream. In this model, OneAccess synchronizes identity data in upstream systems to downstream application systems in real time, ensuring consistency, accuracy, and security of identity data throughout the user lifecycle, covering onboarding, job transfer, and resignation.
An identity source is similar to the identity management system of an enterprise. It stores the details of enterprise users. OneAccess supports standard identity sources, such as WeChat, DingTalk, Active Directory (AD), and Lightweight Directory Access Protocol (LDAP). With only simple configuration, you can synchronize organization and user data of these identity sources to OneAccess. Identity source synchronization suits the following scenarios:
- Single identity source
Enterprises that have a single identity source can maintain identity data using its management system.
- Multiple independent identity sources
Enterprises that have multiple independent identity sources can maintain identity data in each identity source using its management system. For example, a company has subsidiaries A and B, which have separate identity management systems and correspond to different organizations in OneAccess. The two subsidiaries can main identity data using their own identity management system.
- Multiple related identity sources
Enterprises that have multiple related identity sources are advised to create and update identity data through a single source to prevent data overriding during synchronization.
OneAccess can integrate user and organization information of different identity sources, such as WeCom, DingTalk, AD, and LDAP. Configuration information varies depending on the identity source. See the following links:
This section describes how to add an identity source. DingTalk is used for illustration.
Procedure
- Add an identity source.
- In the top navigation pane, choose Users > Identity Sources. Figure 1 Identity Sources
- On the Identity Sources page, click Add Identity Source in the row that contains the identity source type you want to add. Figure 2 Adding an identity source
- Enter an identity source name and click OK.
- In the top navigation pane, choose Users > Identity Sources.
- Configure the import settings.
- In the identity source list, click View Details in the row that contains the identity source added in 1. Figure 3 Clicking View Details
- Click the Import Settings tab.
- Set the import parameters and click Save.
Table 1 Configuration parameters Parameter
Description
Import Settings
Enterprise ID
(Required) Enterprise ID on the identity source open platform, for example, CorpId on DingTalk.
AppKey
(Required) Key of an application created on the identity source open platform. For example, in DingTalk, AppKey indicates the application key.
AppSecret
(Required) Secret of the application. For example, in DingTalk, AppSecret indicates the application secret.
Root Department ID
(Required) ID of the department from which you want to synchronize user data. The default value is 1, indicating that user data of all organizations in the identity source will be synchronized to OneAccess. To synchronize user data from a specific department, enter the ID of the department.
Proxy Server Address
(Optional) IP address or domain name of your server that you want to use to synchronize data from the identity source in real time.
Callback
Disabled by default, indicating that OneAccess will not synchronize data from the identity source in real time.
Callback URL
Automatically generated after you enable callback.
Event Type
Automatically generated after you enable callback.
Advanced Settings
(Optional)
Organization
Organization in OneAccess to which data from the identity source will be synchronized. If no organization is selected, a new root organization will be created in OneAccess.
Deletion Threshold
Number of data records deleted in the identity source that will trigger data protection in OneAccess. For example, if the number of data records deleted in the identity source exceeds the specified limit, the same data will remain in OneAccess.
Organization Matching
Organization mapping rules for OneAccess to synchronize organization data from the identity source.
For example, if you add a rule with the OneAccess attribute code and the identity source attribute organization code, organization data synchronized from the identity source will be identified using their organization code.
Create Organization
Enabled by default, indicating that OneAccess will automatically create new organizations for those that do not match any existing organizations in OneAccess. You are advised to keep this option enabled.
Update Organization
Enabled by default, indicating that the organizations in OneAccess that match those synchronized from the identity source will be updated. You are advised to keep this option enabled.
Delete Organization
Indicates whether to delete the organizations in OneAccess if the same organizations are deleted in the identity source.
User Matching
User mapping rules for OneAccess to synchronize user data from DingTalk.
Create User
By default, this option is enabled, indicating that users noting match any existing users in OneAccess will be created.
Update User
By default, this option is enabled, indicating that the users in OneAccess that match those synchronized from the identity source will be updated.
Delete User
Indicates how to handle the users in OneAccess if they are deleted in the identity source. You can disable or retain the users.
- In the identity source list, click View Details in the row that contains the identity source added in 1.
- Click the Object Models tab, set user and organization attributes and mapping rules.
Table 2 Object model Parameter
Description
User Object
Attributes
User attributes (for example, userid) to be synchronized from the identity source to OneAccess.
Mappings
Data conversion rules for synchronizing user data from the identity source to OneAccess. Script-based conversion is supported.
Organization Object
Attributes
Organization attributes (for example, code) to be synchronized from the identity source to OneAccess.
Mappings
Data conversion rules for synchronizing organization data from the identity source to OneAccess. Script-based conversion is supported.
- Click the Synchronization tab, and click Execute to synchronize data from the identity source. Figure 4 Clicking Execute
- Click the Callback Events tab, and view the interactions between OneAccess and the identity source, including creating, updating, and deleting data.
Last Article: User Groups
Next Article: User Attributes
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.