Overview
Introduction
JSON Web Token (JWT) is used for 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 DIAL chat back-end. This JWT contains information about the user's identity. DIAL, allows to use various Identity Service Providers (IDPs) to manage user identities.
Configuration
- Configure your identity service provider (IDP).
- Configure DIAL Core and DIAL Chat to work with your IDP.
- (Optional) Further, you can create roles and permission in DIAL for your users to access specific resources. Refer to JWT to learn how to do this.
Refer to Auth0, AWS Cognito, Microsoft Entra ID, Google Identity, Keycloak, Okta to view how to enable them as an identity and access management solution for DIAL users.
Example
For example purposes, lets configure Microsoft Entra ID to work with DIAL as an identity service provider:
- Configure Microsoft Entra ID: create application, client secret, and user group.
- Configure DIAL Chat to work with Microsoft Entra ID.
- Configure DIAL Core to work with Microsoft Entra ID.
- (Optional) You can now create and assign roles and limits to manage access control of your users to various system resources such as applications and models. Refer to Create and assign roles to learn more. Refer to Roles & Access Control to learn more about roles and how to use them.