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
The desktop app requests the * wildcard scope at sign-in, so its OAuth token can do anything the user can. It's the main remaining client still requesting *, which blocks retiring the wildcard server-side.
Context
Client-side half of retiring the * wildcard scope:
feat(desktop): Implement loops ➿ #3411 bundled the same scope change but shipped before the US and EU app ceilings were seeded. /oauth/authorize rejects the privileged llm_gateway:read under an unseeded ceiling, so every US prod login failed with invalid_scope, and the OAUTH_SCOPE_VERSION bump force-logged-out existing sessions into the broken flow.
Seed the prod OAuthApplication ceilings to ["@default", "llm_gateway:read"] for the desktop app in US (HCWoE0aRFMYxIxFNTTwkOORn5LBjOt2GVDzwSw5W) and EU (AIvijgMS0dxKEmr5z6odvRd8Pkh5vts3nPTzgzU9).
Verify with a real sign-in against US and EU prod before release. Dev is not a valid signal: bin/ensure-local-setup seeds the local ceiling, which is why the outage wasn't caught before merge.
Problem
The desktop app requests the
*wildcard scope at sign-in, so its OAuth token can do anything the user can. It's the main remaining client still requesting*, which blocks retiring the wildcard server-side.Context
Client-side half of retiring the
*wildcard scope:*wildcard: chore(oauth): retire the * wildcard posthog#60342History
OAUTH_SCOPESfrom["*"]to the explicit grantable set plusllm_gateway:readand documented two server-side prerequisites: the@defaultunion ceiling (feat(oauth): @default union scope ceilings posthog#64087, now in master) and seeding this app's prod ceilings. It was closed without shipping./oauth/authorizerejects the privilegedllm_gateway:readunder an unseeded ceiling, so every US prod login failed withinvalid_scope, and theOAUTH_SCOPE_VERSIONbump force-logged-out existing sessions into the broken flow.["*"](version 5) to restore login. That leaves this issue open again.Fix plan
OAuthApplicationceilings to["@default", "llm_gateway:read"]for the desktop app in US (HCWoE0aRFMYxIxFNTTwkOORn5LBjOt2GVDzwSw5W) and EU (AIvijgMS0dxKEmr5z6odvRd8Pkh5vts3nPTzgzU9).OAUTH_SCOPE_VERSIONbumped to 7 so existing installs re-authorize onto the narrower token.bin/ensure-local-setupseeds the local ceiling, which is why the outage wasn't caught before merge.