> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Backbase with OAuth 2.0 (Multiple Companies) – StackOne Hub

> Link a Backbase account in the StackOne Hub using OAuth 2.0 (Multiple Companies). End-user guide to authorize the integration and start using Backbase actions.

> [!WARNING]
>
> Requires an administrator account on the Backbase Identity server of the deployment you are connecting, and a Backbase Access Control administrator who can entitle the user who signs in. Backbase is deployed and operated by each bank, so every value below comes from that deployment, not from Backbase.

## Register the OAuth client

Backbase Identity is a Keycloak distribution, so the client is created in the Keycloak admin console of the realm you are connecting. The client must be confidential - this connector sends a client secret and does not use PKCE, so a public client cannot complete the sign-in. Use this auth method when the accounts you link belong to different Backbase deployments, each with its own client.

**1. Create the client**

Sign in to the Backbase Identity server of the deployment you are connecting, which runs the [Keycloak admin console](https://www.keycloak.org/docs/latest/server_admin/index.html#proc-creating-oidc-client_server_administration_guide) at the identity host its Backbase apps sign in against. Deployments usually run one realm per banking segment, such as `retail` for customers and `employee` for bank staff.

<ul>
  <li>Select the realm whose users will sign in.</li>
  <li>Click **Clients** in the menu.</li>
  <li>Click **Create client**.</li>
  <li>Leave **Client type** set to **OpenID Connect**.</li>
  <li>**Client ID**: `stackone-client`. Copy it across.</li>
  <li>**Name**: `StackOne`</li>
  <li>Click **Next**.</li>
</ul>

**2. Configure the client capabilities**

The **Capability config** page decides how the client authenticates and which flows it may use.

<ul>
  <li>Turn **Client authentication** on. This makes the client confidential and gives it a **Client secret**.</li>
  <li>Turn **Standard flow** on, the OIDC Authorization Code Flow.</li>
  <li>Turn **Direct access grants** and **Implicit flow** off.</li>
  <li>Turn **Service account roles** off. Users sign in through this client.</li>
  <li>Click **Next**, then click **Save** on the **Login settings** page. Some console versions offer **Valid redirect URIs** there - you can set it there now, or on the **Settings** tab afterwards.</li>
  <li>On the **Client scopes** tab, leave `offline_access` assigned. Without it Backbase Identity still returns a refresh token, but one tied to the sign-in session, so the connection stops working when that session ends.</li>
</ul>

**3. Add the StackOne callback URL**

On the **Settings** tab, under **Access Settings**, add the callback URL so Backbase Identity accepts the sign-in redirect.

<ul>
  <li>**Valid Redirect URIs**: the **Callback URL** shown on this connection. Click + to add it.</li>
  <li>Click **Save**.</li>
</ul>

**4. Copy the client secret**

The secret is generated when the client is saved, and you can read it again at any time.

<ul>
  <li>Open the **Credentials** tab.</li>
  <li>Copy the **Client secret** across.</li>
</ul>

## Identify the deployment

Three values identify the Backbase deployment this account connects to. They are the hostnames and realm its Backbase apps already use, not values Backbase issues per integration.

**1. Copy the identity host and realm**

Take both from that deployment's AUTH\_URL, the issuer its Backbase apps sign in against.

<ul>
  <li>Format: `https://{Identity Host}/auth/realms/{Realm}`</li>
  <li>Example: if the AUTH\_URL is `https://identity.example.azure.backbaseservices.com/auth/realms/retail`, the **Identity Host** is `identity.example.azure.backbaseservices.com` and the **Realm** is `retail`</li>
  <li>Your AUTH\_URL must contain the `/auth` segment. Keycloak 17 and later can be deployed without it, serving `https://{Identity Host}/realms/{Realm}` instead - this connector cannot sign in against that shape.</li>
  <li>Choose the realm whose users will sign in, and the one the client above was created in.</li>
</ul>

**2. Copy the API host**

Take it from that deployment's API\_ROOT, the address of its Backbase edge gateway.

<ul>
  <li>Format: `https://{API Host}/api`</li>
  <li>Example: if the API\_ROOT is `https://app.example.azure.backbaseservices.com/api`, the **API Host** is `app.example.azure.backbaseservices.com`</li>
</ul>

## Entitle the user who signs in

Signing in is not enough on its own. Backbase authorizes every DBS call through its own Access Control service, where a user acts under a service agreement and is entitled through function groups, which pair a business function with a privilege, and data groups. The OpenID Connect scopes this connector requests are identity scopes only and grant no DBS access, and neither do Keycloak roles. Grant the signing-in user the business functions and privileges the actions you enable need, using that bank's Backbase Access Control documentation.

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup.</li>
</ul>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.