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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
OAuth navigation origin handling
Stop treating the browser Origin header as an authentication boundary for actual Worker requests. OAuth authorization navigations and form submissions from opaque or client-specific browser containers now reach normal protocol validation instead of failing early with origin_not_allowed.
Keep CORS response sharing strict: only the Worker origin, the built-in ChatGPT/Grok origins, and exact MBM_ALLOWED_ORIGINS additions pass preflight and receive Access-Control-Allow-Origin. Unrelated and null origins receive no CORS permission, while PKCE, exact redirect/resource binding, account authentication, bearer tokens, and admin/daemon secrets remain authoritative.