You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Persist server-registered scopes on DCR clients and limit later sign-ins (upstream #2402) #68
Goal: store the scopes the authorization server actually registered on dynamically registered (DCR) OAuth clients, and limit later sign-ins to those scopes.
Context: v2 already avoids UsefulSoftwareCo#2403's invalid_scope bug, because it reuses a DCR client only when the full registration, including the sorted scope set, matches (packages/sdk/src/implementation/oauth.ts:1103, stored-oauth-client-credentials.ts:184). What's missing is persisting server-registered scopes and limiting to them.
Storage migration for registered scopes on stored OAuth clients, following the online-migration rules (expand → backfill → contract, no blocking DDL)
Activity