Authentication mechanisms in the C3 Agentic AI Platform
Various services or connections may require different authentication methods. To specify the authentication mechanism supported by the service or connection, use the AuthenticationKind Type.
The options in the AuthenticationKind Type allow the C3 Agentic AI Platform to determine which method to use to authenticate and authorize requests correctly.
AuthenticationKind options
The AuthenticationKind Type lists the following authentication mechanisms and their purposes:
| Auth mechanism | Purpose |
|---|---|
Basic | Authentication with username and password |
TEST | Authentication with test identity provider |
C3_REGISTRATION | Authentication for registration with C3 Agentic AI Platform |
SAML | Authentication with Security Assertion Markup Language (SAML) |
OIDC | Authentication with OpenID Connect (OIDC) |
OIDC_DIRECT_LOGIN | Authentication with OpenID Connect (OIDC) direct login |
LDAP | Authentication with Lightweight Directory Access Protocol (LDAP) |
SESSION | Authentication using session token |
c3app | Authentication using application token |
undefined | Undefined authorization header |
c3 | Authentication with c3auth set in cookie |
c3key | Authentication with public private key pair |
Bearer | Authentication with OAuth token |
C3-Action-Auth- | Action authentication for callback from external process |
c3cluster | Authentication with cluster public key and private key pair |
C3Bearer | Authentication for C3 AI APIs |
c3oauthcode | Authentication with OAuth C3 AI authorization code |
c3oauthrefresh | OAuth authentication with C3 AI refresh token |
c3oauthcc | OAuth C3 AI authentication with client credentials grant type |
k8sauth | Authentication with Kubernetes token |
Example uses
Here are some example requests using AuthenticationKind authentication methods.
OAuth authentication
For services or connections that support OAuth, use Bearer with an OAuth token in the request authorization header. For example:
curl \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-X GET \
https://<cluster>/<environment>/<app>/api/8/User/myUserC3 AI Agentic AI Platform authentication
For services or connections that support C3 Agentic AI Platform authentication or c3auth, use C3Bearer with an authentication token in the request authorization header. For example:
curl \
-H "Authorization: C3Bearer <token>" \
-H "Content-Type: application/json" \
-X GET \
https://your-c3-app-url/api/8/YourType/yourEndpoint