Types
An Identity-based LLM consumer carries exactly one identity auth (OIDC or OAuth2).
API keys
- Identity → Auth → New Auth → API Key, or create the key on the consumer Auth tab.
- Set expiry (Never, 30 days, 90 days, 1 year). Copy the secret once.
- Use it in requests or in the consumer Connect snippets.
ag_. TrustGate stores a hash; the secret cannot be recovered. Rotate by
creating a new key, updating clients, then revoking the old one.
OAuth2 setup modes
OIDC fields: issuer, JWKS URL, audiences, required scopes, allowed algorithms, subject
claim, optional public keys / certificate constraints.
Two IdP patterns
Same Okta or Entra tenant can back both. They are two TrustGate auth types, not two IdPs.Rules for every provider
- Audiences is required and must match the token’s
audclaim. - Required scopes must not include
openid,profile,email, oroffline_access. - Scope matching uses
scp/scopeand Auth0/Entra-stylepermissionsandrolesarrays. - Interactive MCP: Setup → Interactive login · IdP with discovery, Session mode off, Okta app type Web Application (not API Services).
- JWKS URL can stay under Token validation · advanced; TrustGate resolves keys from the issuer when needed.
Provider manuals
Okta
Custom authorization server, scopes, groups claim, and both app patterns.
Entra ID
App registration, exposed API scopes, app roles, and both app patterns.