AEM Agentic Translation OAuth 2.0 Client Credentials and custom endpoint support

✨ This content is AI generated and could be inaccurate. Generative AI Terms

This article explains the support for OAuth 2.0 Client Credentials and custom API Gateway endpoints when integrating Adobe Experience Manager (AEM) Agentic Translation with external large language model (LLM) providers.

Description description

Environment

Adobe Experience Manager (AEM) Agentic Translation (all versions)

Symptoms

When planning an integration where AEM Agentic Translation connects to an external LLM provider through a corporate API Gateway, the following questions may arise:

  • Does Agentic Translation support OAuth 2.0 Client Credentials authentication for outbound LLM connections?
  • Can the LLM Base Path/endpoint be configured to use a custom API Gateway instead of connecting directly to a public LLM provider?
  • If OAuth Client Credentials is not natively supported, is there an extension mechanism available?
  • Does enabling Dedicated Egress IP in AEM as a Cloud Service ensure that Agentic Translation requests use that IP?

No specific error messages or stack traces are reported; this is a pre-implementation inquiry regarding supported integration patterns.

Cause

AEM Agentic Translation currently lacks native support for OAuth 2.0 Client Credentials flows for outbound LLM connections. Integration with custom endpoints is possible if the API Gateway manages authentication and protocol compatibility.

Resolution resolution

Follow the steps below to resolve the issue.

  1. OAuth 2.0 Client Credentials Support

    • AEM Agentic Translation does not natively support OAuth 2.0 Client Credentials authentication for outbound LLM connections.
    • The integration expects direct API keys or tokens for supported LLM providers.
  2. Custom LLM Endpoint Configuration

    • The LLM Base Path/endpoint can be configured to point to a custom API Gateway, provided the endpoint is compatible with the expected LLM API contract.
    • Ensure that the API Gateway transparently forwards requests and responses between AEM Agentic Translation and the LLM provider.
  3. Extension Mechanisms

    • There is currently no supported extension point or plugin mechanism to inject OAuth 2.0 Client Credentials flows directly into the Agentic Translation outbound connection.
    • As a workaround, implement OAuth 2.0 Client Credentials handling within the API Gateway. The Gateway should exchange credentials for a bearer token and inject it into requests forwarded to the LLM provider.
  4. Dedicated Egress IP

    • When Dedicated Egress IP is enabled in AEM as a Cloud Service, outbound requests—including those from Agentic Translation—are routed through the dedicated IP address.
    • Confirm with the network administrator that the egress configuration covers all relevant outbound traffic.
recommendation-more-help
experience-cloud-kcs-help-kbarticles