Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
fix(connected-accounts): add REVOKED arm to S2SOauth2ConnectionDataSchema
The top-level ConnectedAccountStatusSchema accepts REVOKED for any auth scheme, but only Oauth2ConnectionDataSchema had a matching arm. For the 12 other unions, a REVOKED payload would fail discriminated-union parsing and `transformConnectedAccountResponse` would silently drop the entire `state` object — refresh tokens / api keys / oauth tokens would vanish without surfacing an error. Today this can't fire (per Apollo, REVOKED is OAuth2-only) but `S2S_OAUTH2` is on the near-term roadmap. Add the REVOKED arm preemptively and an inline invariant comment so the next reviewer doesn't have to re-derive the OAuth2-only scope. Addresses PR #3344 review comment P1#1.