Skip to content

fix(oauth): advertise only enabled hosted scopes - #25

Merged
samuelho-dev merged 2 commits into
mainfrom
fix/oauth-advertised-scopes-20261115
Nov 15, 2026
Merged

samuelho-dev merged 2 commits into
mainfrom
fix/oauth-advertised-scopes-20261115

Conversation

@samuelho-dev

Copy link
Copy Markdown
Owner

Fix

ChatGPT requested the advertised coordinator:message scope although all configured hosted principals and registered clients are intentionally read-only. Compute protected-resource scopes from OAuth-bound principal permissions only; native messaging authority never adds OAuth scopes. No IdP/client privilege expansion.

Verification

OAuth race regression passed for both metadata paths and read-only/messaging configurations, including a messaging-enabled native principal. Existing OAuth authorization/isolation suite, Go vet, build, TypeScript check, real Pi/OMP native smoke and chart strict lint passed. Beta.14 image/chart release only; no public npm release or fleet reload.

Refs INFRA-36, INFRA-37

@coderabbitai

coderabbitai Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: cb988ef1-f010-4f70-afec-539371c3d986
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@samuelho-dev
samuelho-dev merged commit 8572812 into main Nov 15, 2026
10 checks passed
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.

1 participant