: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
fix(auth): Exempt integration and OAuth callbacks from onboarding redirect (#58030)
Michael Matlokad6584a8f6af7
diff --git a/frontend/src/scenes/sceneLogic.tsx b/frontend/src/scenes/sceneLogic.tsxindex 77a6c0d67147..3557348dc5f0 100644--- a/frontend/src/scenes/sceneLogic.tsx+++ b/frontend/src/scenes/sceneLogic.tsx@@ -299,7 +299,20 @@ const pathPrefixesOnboardingNotRequiredFor = [urls.debugHog(),urls.debugQuery(),urls.activity(),- urls.oauthAuthorize(),+ // /integrations/* — OAuth + third-party round-trips: must complete (callback/landing effects)+ // even when onboarding is incomplete, else /onboarding swallows the response. E.g.+ // /integrations/<kind>/callback (urls.integrationsRedirect), stripe confirm-install, vercel link-error.+ '/integrations',+ // /account-connected/<kind> — return after linking GitHub etc.; /complete/github-link/ redirects here.+ '/account-connected',+ // /oauth/authorize and any /oauth/* callback path.+ '/oauth',+ // /connect/vercel/link (urls.vercelConnect) and other connect round-trips.+ '/connect',+ // /agentic/authorize.+ '/agentic/authorize',+ // /cli/authorize, /cli/live (CLI auth round-trip).+ '/cli','/startups','/coupons',]