Authentication
Authentication is the process of an identity verification.
There are two supported methods to authenticate AI DIAL Core API calls: JSON Web Token (JWT) and API key. Both options enable control over access to specific resources in AI DIAL such as applications, files, conversations or prompts.
API Keys
Refer also to Per-Request Keys to learn about keys generated by AI DIAL Core for specific requests.
AI DIAL utilizes API keys for server-to-server authentication. They are defined and stored in the dynamic settings of AI DIAL Core. By associating API keys with roles, you can control which resources they can access and set limits on their usage. This ensures secure and controlled access to your AI DIAL resources programmatically.
Refer to tutorials to learn how to Create API Keys and configure Roles and Limits to enable access control.
JWT
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 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.
Refer to Roles and Limits to learn how to enable access control and Configure IDPs to see how to configure identity service providers.