Identity Cloud

Scripted REST connector

Details
  1. In Identity Cloud, on the Provisioning tab:

  2. Configure the following fields:

    Field Description

    Service Address

    The service address for the connection.

    Proxy Address

    The proxy address for the connection.

    Username

    The user name for the connection.

    Password

    The password for the connection.

    Default Content Type

    The default content type for the connection. If not set, the default value is application/json.

    Default Request Headers

    The default request headers for the connection.

    Default Authentication Method

    The default authentication method for the connection. Specify BASIC or OAUTH. If not set, the default value is BASIC.

    If Default Authentication Method is set to OAUTH, configure the following fields:

    • Token Endpoint: The endpoint where a new access token is requested for OAuth 2.0.

    • Client ID: The secure client identifier for OAuth 2.0.

    • Client Secret: The secure client secret for OAuth 2.0.

    • Refresh Token: The refresh token for OAuth 2.0.

    • Scopes: The scopes to use for OAuth 2.0.

    Grant Type

    The grant type for the connection. Specify CLIENT_CREDENTIALS, REFRESH_TOKEN, or AUTHORIZATION_CODE. If not set, the default value is CLIENT_CREDENTIALS.

    Custom Sensitive Configuration

    The custom sensitive configuration for the connection.

    Custom Configuration

    The sensitive configuration for the connection.

    Script Roots

    The root folder to load the scripts from.

    Authenticate Script

    The authentication script for the connection.

    Create Script

    The create script for the connection.

    Update Script

    The update script for the connection.

    Delete Script

    The delete script for the connection.

    Search Script

    The search script for the connection.

    Test Script

    The test script for the connection.

    Sync Script

    The sync script for the connection.

    Schema Script

    The schema script for the connection.

    Resolve Username Script

    The resolve username script for the connection.

    Script On Resource

    The script on resource for the connection.

    Customizer Script

    The customizer script for the connection.

  3. To set advanced settings, click Show advanced settings.

  4. Configure the following fields:

    Field Description

    Target Directory

    The target directory for the connection.

    Warning Level

    The warning level for the connection. If not set, the default value is 1.

    Recompilation Interval

    The recompilation interval for the connection. If not set, the default value is 100.

    Script Base Class

    The script base class for the connection.

    Tolerance

    The tolerance level for the connection. If not set, the default value is 10.

    Debug

    Set this option to activate debug mode.

    Classpath

    The class path for the connection.

    Disabled Global AST Transformations

    Set this option to disable global AST tranformations.

    Verbose

    Set this option to enable verbose mode.

    Source Encoding

    Set this option to enable source encoding. If not set, the default value is UTF-8.

    Recompile Groovy Source

    Set this option to enable recompiling of the groovy source.

  5. Click Connect.

  6. Verify the information in the Details tab.

Copyright © 2010-2023 ForgeRock, all rights reserved.