Skip to content

Allow exact-scope custom OAuth configs; cut 0.3.0 changelog - #2

Open
jadenmaciel wants to merge 1 commit into
mainfrom
jms/changelog-oauth-scopes
Open

Allow exact-scope custom OAuth configs; cut 0.3.0 changelog#2
jadenmaciel wants to merge 1 commit into
mainfrom
jms/changelog-oauth-scopes

Conversation

@jadenmaciel

Copy link
Copy Markdown
Owner

Summary

authorizeToolkit() rejected any toolkit backed by a custom OAuth config, which blocked connecting Gmail and Google Calendar during the rollout. Adds hasExactOAuthScopes() 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 in test/composio-policy.test.ts for hasExactOAuthScopes.

Now running in production for the live Gmail/Calendar OAuth connections.

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.
Copilot AI review requested due to automatic review settings July 17, 2026 22:49
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants