Skip to main content

Configure connector authentication

Connector authentication sets the credential the Connector Gateway sends to a connector's backend MCP server. Callers authenticate to the gateway with their own identity, and the gateway attaches the outbound credential that the connector's authentication type defines.

Choose an authentication type​

Every connector has exactly one authentication type.

Console labelAPI typeWhat the gateway sendsNeeds
NonenoneNo credentialNothing
Bearer tokenbearerTokenA static token in the Authorization headerA secret
Header injectionheaderInjectionA static value in a header you nameA secret
Upstream identity providerupstreamInjectThe calling user's own OAuth token, collected through a per-user consent flowA connector identity provider
Token exchange (RFC 8693)tokenExchangeA token obtained by exchanging the caller's token at call timeA token endpoint; a secret is optional
AWS STSawsStsAWS SigV4-signed requests using temporary credentials from AWS STS web-identity federationAn identity provider; no secret
On-Behalf-Of (OBO)oboA Microsoft Entra ID token from the On-Behalf-Of (OBO) flowAn identity provider and a secret
Cross-app access (XAA)xaaA token from the cross-app access (ID-JAG) flowAn identity provider; secrets are optional

Use these guidelines to pick a type:

  • Use None for a backend that needs no credential, such as an internal MCP server that's reachable only inside your cluster.
  • Use Bearer token or Header injection when the backend accepts one shared API key for every caller. Every user reaches the backend with the same identity.
  • Use Upstream identity provider when the backend should act as each user, for example a SaaS MCP server that requires the user's own OAuth grant.
  • Use Token exchange (RFC 8693), On-Behalf-Of (OBO), Cross-app access (XAA), or AWS STS when the backend trusts your identity provider and accepts a token derived from the caller's identity.

Set up the prerequisites in order​

Each authentication type references objects that must exist before you save the connector. Create them in this order:

  1. Secrets. Create a managed secret for each static credential or client secret the type needs.
  2. Identity provider. Register a connector identity provider for types that need one. The provider's client secret is itself a managed secret, which is why secrets come first.
  3. Connector authentication. Configure the connector's authentication type, referencing the secrets and provider.
  4. Access. Grant access to the connector through its connector policy.

Configure authentication in the console​

  1. In the console, open the connector and select the Configuration tab.
  2. Under Authentication, choose a Backend auth type and fill in its fields:
    • Bearer token: under Secret reference, choose the managed secret that holds the token.
    • Header injection: enter the Header name, for example X-API-Key, and choose the managed secret that holds its value.
    • Upstream identity provider: choose the connector identity provider that users authorize against.
    • Token exchange (RFC 8693): enter the Token URL and Client ID, and optionally an audience, scopes, and a Client secret reference.
  3. Select Save. For a draft connector, select Save and verify, which checks the endpoint and authentication before publishing it.

How users authorize connectors​

For an Upstream identity provider connector, each user completes consent in Your workspace or during client connection. The Connector Gateway stores the authorization and prompts the user to Re-authenticate after it expires.

Each stored authorization is bound to the identity provider configuration that issued it. Changing any of these settings makes every user of that provider authorize again on their next connection:

  • The provider's issuer, OAuth endpoints, or client ID
  • The requested scopes or additional authorization parameters
  • The redirect URI, which derives from the Connector Gateway issuer

The gateway keeps the stored authorizations. If you revert the change, users' existing authorizations work again without another consent step.

Next steps​