Uh oh!
There was an error while loading. Please reload this page.
fix(auth): Revert OAuth scopes to wildcard to fix prod login - #3668
Conversation
😎 This pull request was merged. |
React Doctor found no issues in the changed files. 🎉 Reviewed by React Doctor for commit |
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
PR overviewAll previously flagged issues have been addressed. No open security concerns remain on this pull request. Security reviewNo open security issues remain on this pull request. Fixed/addressed: 1 · PR risk: 0/10 |
Problem
Login against US prod is broken: /oauth/authorize redirects back with error=invalid_scope. #3411 switched the OAuth request from "" to an explicit scope list including the privileged llm_gateway:read, but the prod OAuth app rows have no seeded scope ceiling. The server only grandfathers "" under an empty ceiling and rejects any privileged scope, so every login fails. The same PR bumped OAUTH_SCOPE_VERSION, which force-logs-out existing sessions into that broken flow, so any build with #3411 locks users out entirely. v0.57.262 is tagged with this and must not ship until this lands.
Changes
Revert OAUTH_SCOPES to [""] and OAUTH_SCOPE_VERSION to 5, restoring the exact behavior of v0.57.257. Existing "" tokens keep working with no forced re-auth. The explicit list can re-land once the US and EU OAuthApplication ceilings are seeded with ["@default", "llm_gateway:read"].
How did you test this?
Automatic notifications