Adding an Application

Add custom or pre-integrated downstream applications.

Adding a Custom Application

Custom applications are applications developed by your enterprise or any software as a service (SaaS) or commercial applications not included in the pre-integrated application list.

  1. Log in to the administrator portal.
  2. In the top navigation pane, choose Resources > Applications.

    Figure 1 Applications

  3. On the Applications page, click Add Custom Application.
  4. Enter an application name, and click Save.
  5. Configure the parameters required so that the application can be accessed by users. For details, see Configuring an Application.

Adding a Pre-integrated Application

OneAccess has pre-integrated some applications based on their development APIs and protocols.

  1. On the Applications page, click Add Pre-integrated Application.
  2. Click the pre-integrated application you want to add.
  3. Enter an application name, and click Next.
  4. Set the authentication parameters. The authentication method and parameters vary depending on the application. SAML is used for illustration. For details about how to add HUAWEI CLOUD, see SSO Access to HUAWEI CLOUD.

    To add an application through SAML, upload a metadata file or edit the metadata manually.
    • Upload a metadata file
      1. In the Authentication Parameters step, click Import SP Metadata.
      2. Click Select File and select the metadata file you have obtained from the application service provider (SP).
        • If a message indicating incorrect file type is displayed, upload the correct metadata file or edit the metadata manually.
        • For details about how to obtain the metadata, see the documentation of the application.
        Figure 2 Uploading a metadata file
      3. When the Select File button changes to √, the metadata is extracted. Then click Next.
    • Edit metadata
      1. In the Authentication Parameters step, click Configure Metadata.
      2. Set the parameters listed in the following table according to the metadata file you have obtained.
        Figure 3 Editing metadata
    Table 1 Authentication parameters

    Parameter

    Mandatory

    Description

    SP Entity ID

    Yes

    Unique identifier of an SP. Enter the value of Entity ID displayed in the SP metadata file.

    ACS URL

    Yes

    SP callback URL that receives a response when OneAccess authentication is successful. Enter the value of AssertionConsumerService displayed in the SP metadata file.

    Name ID

    Yes

    Select a user attribute or account attribute. The attribute value will be used as the subject of the assertion.

    NameID Format

    Yes

    Username format supported by the SP. Enter the value of NameIDFormat displayed in the SP metadata file.

    Audience URI

    No

    Audience for which the SAML assertion is intended. By default, this field is the same as SP Entity ID.

    Single Logout URL

    No

    URL to which users will be redirected after logging out of their sessions. Enter the value of SingleLogoutService displayed in the SP metadata file. The SingleLogoutService parameter in the metadata file must support HTTP Redirect or HTTP POST.

    Default Relay State

    No

    Default URL to which users will be redirected after successful login.

    Response Signature

    Yes

    Indicates whether to sign SAML responses using the identity provider's (IdP) certificate. By default, SAML responses are not signed.

    Assertion Signature

    Yes

    Indicates whether to sign assertions using the IdP's certificate. By default, assertions are not signed. Enter the value of WantAssertionsSigned displayed in the SP metadata file.

    Digital Signature Algorithm

    Yes

    Algorithm used to sign SAML responses or assertions. By default, RSA_SHA256 is used. The options include RSA_SHA256, RSA_SHA512, and RSA_RIPEMD160.

    Digital Digest Algorithm

    Yes

    Algorithm used to create digests for SAML responses or assertions. By default, SHA256 is used. The options include SHA256, SHA512, and RIPEMD160.

    Assertion Encryption

    Yes

    Indicates whether to encrypt assertions. By default, assertions are not encrypted.

    Request Signature Validation

    Yes

    Indicates whether to sign SAML requests. By default, SAML requests are signed. Enter the value of AuthnRequestsSigned displayed in the SP metadata file.

    Signature Certificate Validation

    Yes

    SP public key certificate, which is used to verify SAML request signatures. Enter the value of use="signing" displayed in the SP metadata file.

  5. (Optional) If the application supports data synchronization, set the synchronization parameters. You can then manage accounts and groups of the application in OneAccess. The synchronization method and authentication parameters vary depending on the application. OneAccess can synchronize data through event callback, System for Cross-domain Identity Management (SCIM), or Lightweight Directory Access Protocol (LDAP). This step uses SCIM for illustration. For details, see Synchronizing Data with Atlassian Through SCIM.

    Table 2 Synchronization parameters

    Parameter

    Description

    Basic Settings

    SCIM Endpoint

    Address of the target system to receive SCIM data.

    Authentication Method

    Authorization is required for calling SCIM APIs. The options include Basic Auth and Bearer Token.

    Username

    Username corresponding to the specified authentication method.

    Password

    Password corresponding to the specified authentication method.

    Application Account Template

    User data template to be pushed to the target system. Fill attributes as required. OneAccess provides a data template that complies with SCIM 2.0.

    Application Organization Template

    Organization data template to be pushed to the target system. Fill attributes as required. OneAccess provides a data template that complies with SCIM 2.0.

    Organization Resource Path

    Organization resource path in SCIM. For example, the user path is User and the user group path is Group.

    Advanced Settings

    Content-Type

    Request header parameter, which you can set based on the target system. Set this parameter to application/json or application/scim+json. The default value is application/scim+json.

    Accept

    Request header parameter, which you can set based on the target system. Set this parameter to application/json or application/scim+json.

    Time Format

    JSON time format. If the time is in milliseconds, set this parameter to timestamp. If the time is another type of value, enter an expression, for example, yyyy-MM-dd HH:mm:ss.

  6. Click Save. Go to the application details page, and modify the settings by referring to Configuring an Application.