For the complete documentation index, see llms.txt. This page is also available as Markdown.

Authentication

Distributional is now Talaria Scientific. The DBNL product described in these docs has been sunset; this documentation is preserved for reference. Read the announcement.

API Authentication

Personal Access Tokens are used for API authentication and are required for use of the Python SDK.

To create a Personal Access Token click on your profile badge in the lower left of the UI, then click on "Personal Access Token." We recommend saving this as an environment variable like DBNL_API_TOKEN for future use.

User Authentication

The DBNL platform uses OpenID Connect or OIDC for user authentication. OIDC providers that are known to work with DBNL include:

Configuration

OIDC can be configured using the following options in the DBNL Helm chart or Terraform module:

  • audience

  • clientId

  • issuer

  • scopes

Instructions on how to get those options for each provider can be found below.

  1. Follow the Auth0 instructions to create a new SPA (single page application).

    1. In Settings > Application URIs, add the DBNL deployment domain to the list of Allowed Callback URLs (e.g. dbnl.mydomain.com).

  2. Navigate to Settings > Basic Information and copy the Client ID as the OIDC clientId option.

  3. Navigate to Settings > Basic Information and copy the Domain and prepend with https:// to use as the OIDC issuer option (e.g. https://my-app.us.auth0.com/).

  4. Follow the Auth0 instructions to create a custom API.

    1. Use your DBNL deployment domain as the Identifier (e.g. dbnl.mydomain.com).

  5. Navigate to Settings > General Settings and copy the Identifier as the OIDC audience option.

  6. Set the OIDC scopes option to "openid profile email".

  1. Follow the Microsoft Entra ID instructions to create a new SPA (single page application) and enable OIDC.

    1. Add the DBNL deployment domain as the callback URL (e.g. dbnl.mydomain.com).

  2. [Optional] Follow the Microsoft Entra ID instructions to restrict access to certain users.

  3. Navigate to App Registrations > (Application) > Manage > API permissions and add the Microsoft Graph email, openid and profile permissions to the application.

  4. Navigate to App Registrations > (Application) > Manage > Manifest and set access token version to 2.0 with "accessTokenAcceptedVersion": 2 .

  5. Navigate to App Registrations > (Application) > Manage > Token configuration > Add optional claim > Access > email to add the email optional claim to the access token type.

  6. Navigate to App Registrations > (Application) and copy the Application (client) ID (APP_ID) to be used as the OIDC clientId and OIDC audience options.

  7. Set the OIDC issuer option to https://login.microsoftonline.com/{APP_ID}/v2.0 .

  8. Set the OIDC scopes option to "openid email profile {APP_ID}/.default".

  1. Follow the Okta instructions to create a new SPA (single page application) and enable OIDC.

    1. Set the Sign-in redirect URIs to your DBNL domain (e.g. dbnl.mydomain.com)

  2. Navigate to General > Client Credentials and copy the Client ID to be used as the OIDC clientId option.

  3. Navigate to Sign on > OpenID Connect ID Token and copy the Issuer URL to be used as the OIDC issuer and OIDC audience options.

  4. Set the OIDC scopes option to "openid email profile" .