Skip to content

Desktop app requests the * wildcard OAuth scope at sign-in #76194

Description

@charlesvien

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:

History

Fix plan

  1. Seed the prod OAuthApplication ceilings to ["@default", "llm_gateway:read"] for the desktop app in US (HCWoE0aRFMYxIxFNTTwkOORn5LBjOt2GVDzwSw5W) and EU (AIvijgMS0dxKEmr5z6odvRd8Pkh5vts3nPTzgzU9).
  2. Re-land the explicit scope list from feat(oauth): request explicit scopes instead of * on sign-in code#2647/Hide [Add filters] behind ... dropdown #3411 with OAUTH_SCOPE_VERSION bumped to 7 so existing installs re-authorize onto the narrower token.
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working rightfeature/desktopFeature Tag: Desktop

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions