Mapping roles between SSO and Talend Cloud

Issue a POST request at the /security/role-mappings endpoint to create this kind of role mapping.

Before you begin

  • Generate an access token:
    • For users, generate a personal access token. For further information, see Generating a Personal Access Token.
    • For service accounts, generate a service account token. For further information about how to generate a service account token, see Generating a service account token. Once generated, a service account token expires after 30 minutes. If it expires, generate a new token using the POST method at the endpoint https://api.{env}

About this task

In this example, the customer roles to be mapped are Developer and Administrator. Note that these roles are for demonstration purposes only.


  1. Issue the following API call to define the role mapping:

    method: POST
    endpoint: https://api.<env>
    headers: {
              "Content-Type": "application/json",
              "Authorization": "Bearer <your_personal_access_token_or_service_account_token>"
    payload: {
                      "API Tester",
                      "API Designer"

    Regarding the Talend Cloud roles, you can access the predefined list of roles, add new roles, manage role permissions, and assign roles to users in Users & Security > Roles in Talend Cloud Management Console. For further information, see Managing roles.


Once done, the role you assign to users in your SSO system will be synchronized with role assignment on Talend Cloud. In this example, a user with the SSO Developer role automatically obtains the API Tester and API Designer role of Talend Cloud.

Note that for any given user, the roles assigned via this role mapping override those assigned via Just-in-time user provisioning, a classic user identity provisioning option provided in Talend Cloud Management Console.