> ## 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.

# Backbase OAuth 2.0 connector profile – StackOne setup guide

> Set up a connector profile using OAuth 2.0 for Backbase in StackOne to allow users to link their accounts.

> [!WARNING]
>
> Requires an administrator account on your bank's Backbase Identity server, and a Backbase Access Control administrator who can entitle the users who will link accounts. Backbase is deployed and operated by each bank, so the hostnames, realm and client below come from your own 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 your bank's realm. 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 every account linked through this Connector Profile belongs to the same Backbase deployment.

**1. Create the client**

Sign in to your bank's Backbase Identity server, 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 your 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 link accounts.</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 into your Connector Profile.</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** from your Connector Profile. 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** into your Connector Profile.</li>
</ul>

## Point StackOne at your deployment

Three values identify the bank's own Backbase deployment. They are the hostnames and realm your Backbase apps already use, not values Backbase issues per integration.

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

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

<ul>
  <li>Format: `https://{Identity Host}/auth/realms/{Realm}`</li>
  <li>Example: if your AUTH\_URL is `https://identity.example.azure.backbaseservices.com/auth/realms/retail`, your **Identity Host** is `identity.example.azure.backbaseservices.com` and your **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 link accounts, and the one the client above was created in.</li>
</ul>

**2. Copy the API host**

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

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

## Entitle the users who will link accounts

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 on this connector are identity scopes only and grant no DBS access, and neither do Keycloak roles. Grant each user the business functions and privileges the actions you enable need, using your bank's Backbase Access Control documentation.

## Create the StackOne Connector Profile

**1. Create a Connector Profile**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

**2. Link an Account**

Once the Connector Profile is created, continue to [link an account](https://docs.stackone.com/connectors/backbase/guides/link-account/oauth-2-0.md).


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