Skip to main content

Overview

Introduction

JSON Web Token (JWT) is used for web authentication to securely transmit information between a client and a server as a JSON object. When a user logs in, the identity service provider validates the credentials and returns a signed JWT to AI DIAL chat back-end. This JWT contains information about the user's identity. AI DIAL, allows to use various Identity Service Providers (IDPs) to manage user identities.

Configuration

  1. Configure your identity service provider (IDP)
  2. Configure AI DIAL Core and Chat to work with your IDP
  3. (Optional) Further, you can create roles and permission in AI DIAL for your users. Refer to Chat Users to learn how to do this.

Refer to Auth0, AWS Cognito, MS Entra, Google Identity, Keycloak, Okta to view how to enable them as an identity and access management solution for AI DIAL users.

Example

For example purposes, lets configure Microsoft Entra to work with AI DIAL as an identity service provider:

  1. Configure Microsoft Entra: create application, client secret, and user group.
  2. Configure AI DIAL Chat to work with MS Entra.
  3. Configure AI DIAL Core to work with MS Entra.
  4. (Optional) You can now create and assign roles and limits to manage access control of your users to various system resources such as applications, models, assistants and addons. Refer to Create and assign roles to learn more. Refer to Roles & Access Control to learn more about roles and how to use them.