Allow exact-scope custom OAuth configs; cut 0.3.0 changelog - #2
Open
jadenmaciel wants to merge 1 commit into
Open
Allow exact-scope custom OAuth configs; cut 0.3.0 changelog#2jadenmaciel wants to merge 1 commit into
jadenmaciel wants to merge 1 commit into
Conversation
authorizeToolkit() previously errored whenever a toolkit used a custom OAuth config. Add hasExactOAuthScopes() so a custom config is accepted when its scopes match the policy exactly, which is what the live Gmail and Google Calendar connections require. Release the changelog as 0.3.0 (matching package.json) and record this change plus the bulk-manifest 0640 permission fix.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
authorizeToolkit()rejected any toolkit backed by a custom OAuth config, which blocked connecting Gmail and Google Calendar during the rollout. AddshasExactOAuthScopes()so a custom config is accepted only when its scopes match the configured policy exactly. Also releases the changelog as 0.3.0 (matching package.json) covering this change and the bulk-manifest 0640 permission fix.Verification
pnpm typecheck: passed (Node 22).pnpm test: 73/73 passed, including new coverage intest/composio-policy.test.tsforhasExactOAuthScopes.Now running in production for the live Gmail/Calendar OAuth connections.