Callback identity verification for OAuth connections
You can now add an identity check to your OAuth connections. Set a verifier URL on your project, and Composio hands each OAuth return to your server, activating the connection only after your server confirms the signed-in user is the one it was created for. It is opt-in per project and, once set, covers every OAuth connection in the project. Because it confirms the returning user, it holds however the user comes back from the provider. Turn it on in Settings → General. Learn morePython SDK 0.18.1 and TypeScript SDK 0.14.1 harden uploads and event handling
Python SDKcomposio 0.18.1 and TypeScript SDK @composio/core 0.14.1 strengthen URL upload validation and address reliability issues in file handling, trigger subscriptions, and schema conversion.
SDK versions
URL upload security
- Python URL uploads now validate the canonical URL that Requests will connect to. Backslash parser differentials, malformed ports, and destinations that resolve to non-public addresses are rejected before a connection is made.
- TypeScript Tool Router session URL uploads now use the SDK’s SSRF-safe fetch path, revalidate every redirect target, and stream responses with a 100 MiB limit. Edge runtimes that cannot validate DNS fail closed for URL inputs.
- TypeScript path handling on Cloudflare Workers and other edge runtimes now avoids backtracking regular expressions that could hang on long runs of slash characters.
Python reliability and correctness
- Calling
TriggerSubscription.stop()from a trigger callback no longer deadlocks. Timed-out subscription attempts also disconnect their websocket instead of leaving a reconnecting background thread behind. - Malformed chunked trigger frames are contained at the callback boundary, so one bad frame no longer tears down an otherwise healthy subscription.
- File extensions are matched case-insensitively when inferring MIME types, so names such as
photo.PNGandscan.PDFreceive the correct content type. - JSON Schema
allOfcombinations containing an impossible schema remain rejecting through nested objects, arrays, and local definitions instead of being widened to an accepting type.