:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(desktop): stop requesting the vision_action oauth scope (#93808)
Tue Haulunda1d283b3daa1
diff --git a/products/desktop/packages/shared/src/oauth.test.ts b/products/desktop/packages/shared/src/oauth.test.tsindex b52f0d146fef..a17c84c843ec 100644--- a/products/desktop/packages/shared/src/oauth.test.ts+++ b/products/desktop/packages/shared/src/oauth.test.ts@@ -20,9 +20,9 @@ describe("OAUTH_SCOPES guard", () => {fingerprint,}).toMatchInlineSnapshot(`{- "fingerprint": -237404099,- "scopeCount": 206,- "scopeVersion": 7,+ "fingerprint": -2100722726,+ "scopeCount": 204,+ "scopeVersion": 8,}`);});diff --git a/products/desktop/packages/shared/src/oauth.ts b/products/desktop/packages/shared/src/oauth.tsindex df3451c3ddba..056bbc2f0103 100644--- a/products/desktop/packages/shared/src/oauth.ts+++ b/products/desktop/packages/shared/src/oauth.ts@@ -217,8 +217,6 @@ export const OAUTH_SCOPES = ["user:write","user_interview:read","user_interview:write",- "vision_action:read",- "vision_action:write","visual_review:read","visual_review:write","warehouse_objects:read",@@ -244,7 +242,7 @@ export const OAUTH_SCOPES = [// applies to every future server-side scope addition the app relies on, even when// OAUTH_SCOPES itself is unchanged.// v7: "*" replaced with the explicit list above.-export const OAUTH_SCOPE_VERSION = 7;+export const OAUTH_SCOPE_VERSION = 8;export function getOauthClientIdFromRegion(region: CloudRegion): string {switch (region) {