Configuring an Application
Configurations of an application include the general information, authentication settings, synchronization settings, login settings, access control, object models, authorization, API permissions, and application permissions. Perform the following procedure to configure custom or pre-integrated applications.
- On the Applications page, click the application you want to configure.
- Click the application logo or name to go to the application details page.
- Modify the general information. Figure 1 Modifying general information
Table 1 General information Application Information
Description
Authentication Credentials
Client ID
API authentication ID. It is automatically generated by OneAccess.
ClientSecret
API authentication secret. To obtain the secret, click Enable.
NOTE:- The secret has unlimited validity. Keep it secure.
- To obtain a new secret, click Reset.
- After you reset the secret, it becomes invalid and the new secret takes effect immediately.
Application Information
Logo
(Optional) Upload a JPG file whose size is no greater than 50 KB. 240 x 240 pixels is recommended.
Name
(Required) Name of the application.
Integration
Authentication
Protocol for integrating the application with OneAccess for identity authentication. OAuth, SAML, OIDC, CAS, and plug-in autocompletion are supported.
NOTE:The protocol cannot be changed once specified.
Synchronization
Method of synchronizing data between the application and OneAccess. Event callback, SCIM, and LDAP are supported.
NOTE:The synchronization mode cannot be changed once specified.
Other
Application Display
Display mode of the application in the user portal.
- Automatic: The application is displayed on the homepage of the user portal only for users who have access to the application.
- Fixed: The application is displayed on the homepage of the user portal for all users.
- Not display: The application is not displayed on the homepage of the user portal for any users.
- (Optional) If you have specified an authentication protocol in 3, modify the authentication parameters and mappings.
- Parameters: Modify the authentication parameters of the application by referring to 4.
- Mappings: Configure mappings between OneAccess and the application for user attributes, real-name attributes, account attributes, account permissions, social attributes, fixed attribute values, and dynamic scripts. For details, see Best Practices.
- (Optional) If you have specified a synchronization method in 3, modify the synchronization parameters and configure the method of handling account and organization data.
- Parameters: Modify the synchronization parameters of the application by referring to 5.
- General: Configure whether to synchronize deleted accounts and organizations and deactivated accounts from OneAccess to the application.
- Modify the login configuration. OneAccess allows you to configure PC- and mobile-based login authentication methods for each application.
- Web Applications: Users use a specific URL to access the application on a PC.
You can enable multiple authentication methods for PC-based access to the application. For details, see Best Practices.
- Mobile Applications: Users use a specific URL to access the application on a mobile device.
You can enable multiple authentication methods for mobile device–based access to the application. For details, see Best Practices.
- Official Accounts: Users use a WeChat official account to access the application in password-free mode.
Before enabling an authentication method, ensure that you have configured the corresponding authentication provider. For details, see Adding an Authentication Provider.
- Web Applications: Users use a specific URL to access the application on a PC.
- Modify the access control settings. When enabling access control, set the default access control policy. Then you can create custom policies.
- Default policy: If no custom policies are matched, the default policy is used to determine whether users can access the application. The default policy cannot be deleted or disabled.
- On the Access Control page, enable access control. Figure 2 Enabling access control
- On the Enable Access Control page, configure the default policy.
To ensure application security, select Deny access of all users.
Figure 3 Configuring the default policy
- On the Access Control page, enable access control.
- Add, modify, view, delete, enable, and disable access control policies for the application.
- On the Access Control page, click Add Policy. Figure 4 Adding a policy
- On the Add Access Control Policy page, set the policy information and click Save. Figure 5 Add an access control policy
Table 2 Policy information Parameter
Description
Policy Name
(Required) Name of the access control policy.
Description
(Optional) Description about the access control policy.
User Condition
(Required) Range of users who are allowed or not allowed to access the application. The options include All users, Qualified users, and Disqualified users.
To control access of specific users, set the user conditions described in Table 3.
Access Time
(Required) Time range when users are allowed or not allowed to access the application. The options include Any time, Within specific periods, and Outside specific periods.
To control access in specific time range, set the date and time.
Device Type
(Optional) Type of devices that are allowed or not allowed to access the application. The options include Browser, Desktop device, and Mobile device.
- Browser: Google Chrome, Firefox, Internet Explorer, and other
- Desktop device: Windows, Linux, macOS, and other
- Mobile device: Android, iOS, and other
Regions
(Required) Countries or regions where users are allowed or not allowed to access the application. The options include Any, Chinese Mainland, Outside the Chinese Mainland, Within specific regions, and Outside specific regions. This field is required.
To specify a region, select Within specific regions and select a region (IP address range). If no regions are available, create one by referring to Regions.
Authentication Provider
(Required) Authentication provider that users can or cannot use to access the application. The options include Any, With specific authentication providers, and Without specific authentication providers.
If you select With specific authentication providers, specify an authentication provider.
THEN
(Required) Allow or disallow users who meet the conditions to access the application, or require the users to perform verification. If you select MFA authentication, set the following parameters:
- Frequency: Require users to perform verification during login or for every session.
- Authentication Method: Require users to perform verification through one-time password (OTP) or SMS. For details about how to configure OTP, see OTP.
Table 3 User conditions Parameter
Description
Condition Type
(Required) Options: or, and
User Group
Group of users who are allowed or disallowed to access the application. For details, see User Groups.
Organization
Organization of users who are allowed or disallowed to access the application. For details, see Organizations.
Users
Users who are allowed or disallowed to access the application. For details about users, see Users.
Custom Condition
Define custom conditions based on user attributes. For details about user attributes, see User Attributes.
NOTE:To add more custom conditions, click Add Custom Condition.
Select at least one user condition.
- On the Access Control page, click Add Policy.
- Default policy: If no custom policies are matched, the default policy is used to determine whether users can access the application. The default policy cannot be deleted or disabled.
- Modify the object models, including the application account model and application organization model. They are the basis for synchronizing users and organizations from OneAccess to the application.
- Authorize access to users and organizations, view synchronization events, and manage orphan accounts and shared accounts.
- Application accounts: Manage the mappings between OneAccess users and application accounts. You can map a OneAccess user to accounts of different applications.
- Authorization policy: Configure automatic authorization for all or specific users in synchronized organizations.
- On the Application Accounts page, click Authorization Policy. Figure 8 Configuring the authorization policy
- Enable automatic user authorization. Figure 9 Enabling automatic user authorization
- Select users.
Table 4 User selection Parameter
Description
Users in all application organizations
Authorize access to all users in synchronized organizations. If no organizations have been synchronized, all users in OneAccess are authorized.
Custom
Authorize access to users in specific organizations or user groups. If no organizations have been synchronized, users in all organizations are authorized.
- (Optional) Click Save to save the policy without synchronizing users immediately.
- Click Add. Users are synchronized and displayed in the application account list.
- On the Application Accounts page, click Authorization Policy.
- Clearing accounts: Clear the account data of the application. The operation cannot be undone. Exercise caution when performing this operation. Figure 10 Clearing accounts
- Adding accounts: Manually authorize access to specific users and set application accounts for them. Figure 11 Adding accounts
- Organization consolidation: The system automatically consolidates users' organizations.
- Modifying accounts: To modify the information about an application account, click Modify in the row that contains the account. Figure 13 Modifying an account
- Application roles and permissions: Choose More > Application Roles/Permissions in the row that contains the target application account to assign roles and permissions. For details, see 11. Figure 14 Application Roles and Permissions
- Unbinding accounts: Choose More > Unbind Account in the row that contains the target application account, and click OK.
Once unbound, application accounts become orphan accounts. You can bind them again to users. For details about orphan accounts, see Orphan accounts.
Figure 15 Unbinding an account
- Deleting accounts: To delete an application account, choose More > Delete in the row that contains the account, and click OK.
- Authorization policy: Configure automatic authorization for all or specific users in synchronized organizations.
- Synchronization events: Records of data synchronization between OneAccess and the application. You can filter synchronization events by date range, object type, and object name, and view details of each event. If synchronization failed, view the response and resolve the issue, and then try again.
- Orphan accounts: Application accounts that are created or imported to OneAccess but have not been associated with any OneAccess users. You can edit and delete orphan accounts, associate them with users, and convert them into shared accounts.
- Shared accounts: Application accounts that are shared by multiple OneAccess users. You can add, edit, and delete shared accounts, and specify a controller and users.
- The controller authorizes and cancels access of users to the application in the administrator portal.
- Users access the application through the user portal.
- Application accounts: Manage the mappings between OneAccess users and application accounts. You can map a OneAccess user to accounts of different applications.
- Manage and view the enterprise APIs that the application can access.
- Modify application permissions. You can manage application permissions only by roles or by roles, permissions, and resources.
- Permissions management by roles: A type of coarse-grained authorization mechanism that allows you to manage permissions based on user responsibilities. Users with different responsibilities are granted the corresponding roles. Roles and permissions are managed by the application.
- On the application details page, choose Application Permissions.
- On the Application Permissions page, click Based on Roles. Figure 16 Permissions management by roles
- On the Based on Roles page, enter a role name and role code, and click Save. A role is created and displayed on the Application Permissions page. Figure 17 Adding a role
Table 5 Role information Parameter
Description
* Role Name
Name of the role.
* Role Code
Unique code of the role. It cannot be changed once configured
- To modify the application role, choose Application Permissions > Application Roles, and select the role.
- Adding members: On the Members tab page, click Add, select the members to whom you want to assign the role, and click Save. Figure 18 Adding members
- Adding roles: In the Roles pane, click +, enter the role name and code, and click Save.
- Modifying roles: Click
next to the target role, click Modify Role, and modify the name. Figure 19 Modifying a role
- Deleting roles: Click
next to the target role, click Delete Role, and click OK. Figure 20 Deleting a role
- Adding members: On the Members tab page, click Add, select the members to whom you want to assign the role, and click Save.
- Permissions management by roles, permissions, and resources: A fine-grained authorization mechanism that allows you to manage permissions for specific application resources based on roles. This mechanism meets the requirements for security control with the least privilege. For example, as an enterprise administrator, you can authorize users to perform specific operations on data resources of the application.
- On the application details page, choose Application Permissions.
- On the Application Permissions page, click Based on Roles, Permissions, and Resources. Figure 21 Application permissions management by roles, permissions, and resources
- Set the resource information and click Next.
Table 6 Resource information Parameter
Description
Resource Name
(Required) Name of the resource.
Resource Code
(Required) Unique code of the resource.
Data Structure
(Required) Display mode of the resource. The options include Tree and List.
- Define permissions and click Next.
Table 7 Permission information Parameter
Description
Permission Name
(Required) Name of the permission.
Permission Code
(Required) Unique code of the permission.
Resource
(Required) Select the resource created in 3.
Permission Type
(Required) Type of the permission for the selected resource. The options include Function permission and Data permission.
- Enter the role name and code, and click Finish.
After the configuration is complete, an application role, permission, and resource are created. You can add more application roles, permissions, and resources, modify, or delete them if necessary.
- Application roles: On the Application Roles page, add, view, modify, and delete roles, and add members.
- Permissions: On the Permissions page, add, view, modify, and delete permissions.
- Application resources: On the Application Resources page, add, view, modify, and delete resources.
- Permissions management by roles: A type of coarse-grained authorization mechanism that allows you to manage permissions based on user responsibilities. Users with different responsibilities are granted the corresponding roles. Roles and permissions are managed by the application.
- View the operation records of the application.
Last Article: Adding an Application
Next Article: Enabling or Disabling an Application



Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.