Skip to content

: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.

chore(oauth): declare optional_scopes on the CIMD com.posthog namespace (#83976)

Rafael Audibert6f168eff72a8
diff --git a/posthog/api/oauth/cimd.py b/posthog/api/oauth/cimd.py
index 5adda93be2c1..553f46049081 100644
--- a/posthog/api/oauth/cimd.py
+++ b/posthog/api/oauth/cimd.py
@@ -116,6 +116,7 @@ CIMD_THROTTLE_CLASSES: list[type[SimpleRateThrottle]] = [CIMDBurstThrottle, CIMD
class ComPostHogNamespace(TypedDict, total=False):
verification_token: str
scopes: list[str]
+ optional_scopes: list[str]
provisioning: bool