MuleSoft / Flex Gateway
Flex Gateway Returns "invalid_client" Error on Token Introspection After API Instance Redeployment
- Reported
- Oct 20, 2026
- Updated
- Oct 20, 2026
- Fixed
- Oct 20, 2026
- Reports
- 1
- Found in
- —
- Reference
- —
Summary
After redeploying an API instance or re-applying an OpenID Connect Access Token Enforcement policy on Flex Gateway (Connected Mode), the gateway may send an empty client_secret in the token introspection request to the identity provider. This results in an invalid_client error (HTTP 401) from the introspection endpoint, causing all API requests protected by the policy to fail with a 403 or 401 response.
The issue occurs because a platform update affected how client secret configuration was propagated to API instances during user-triggered deployments. The gateway receives the updated client_id from the Client Provider configuration in Access Management but does not receive the corresponding client_secret.
Affected versions:
- Flex Gateway 1.x (Connected Mode) — all versions
- OpenID Connect Access Token Enforcement policy
Status timeline
Nov 30, 2026
created · Solution Deployed · 1 reports