For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.
Identity providers
Exchange tokens at a specific identity provider’s token endpoint, such as the Google Cloud Security Token Service or the Microsoft Entra ID on-behalf-of flow.
Exchange tokens at the token endpoint of a specific identity provider (IdP).
About
Most IdPs implement the same token exchange grants, so you configure all of them with the generic oauthTokenExchange method. What differs from one IdP to the next is the detail: the token endpoint and its path, the token types that the IdP accepts, how the gateway authenticates to the IdP, and any vendor-specific parameters. The guides in this section show those settings for a specific IdP, and walk through the setup on the IdP side.
To exchange tokens at an authorization server that does not have a guide in this section, start from the standard token exchange or JWT bearer grant guide, and check which grants the server supports.
Identity providers
| Identity provider | Grant | Client authentication | Guide |
|---|---|---|---|
| Google Cloud Security Token Service, with Workload Identity Federation | Token exchange (RFC 8693) | None | Google Cloud |
| Microsoft Entra ID, on-behalf-of flow | JWT bearer (RFC 7523), with requested_token_use=on_behalf_of | Client secret or certificate | Microsoft Entra on-behalf-of |
Identity provider presets
Solo Enterprise for agentgateway also provides presets for common identity providers in the entTokenExchange field of an EnterpriseAgentgatewayPolicy. A preset wraps the same token exchange that the generic backend.auth.oauthTokenExchange method performs, and fills in the provider’s token endpoint path, grant, and token types for you. You still provide the token endpoint as a backendRef.
| Preset | What the preset sets for you | What you provide |
|---|---|---|
google | Path /v1/token, the TokenExchange grant, subject token type Jwt, requested token type AccessToken, and the scope https://www.googleapis.com/auth/cloud-platform | audience, backendRef, and optionally scopes and subjectTokenType |
okta | Path /oauth2/v1/token, or /oauth2/<authServerId>/v1/token for a custom authorization server, and the TokenExchange grant | audience or scopes, clientAuth, backendRef, and optionally authServerId |
entra | Path /<tenantId>/oauth2/v2.0/token, the JwtBearer grant, subject token type Jwt, and requested_token_use=on_behalf_of | tenantId, scopes, clientAuth with a client secret or a certificate, and backendRef |
Note
With the FIPS images (image.variant: fips in the Helm values), the entra preset accepts a clientAuth.certificateKeyPairRef certificate only if its RSA key meets the FIPS rules. The key needs an even size of at least 2048 bits, a public exponent greater than 2^16, and exactly two primes of equal length. Otherwise, the controller does not load the credential.
For an example, see Optional: Use the Google preset.