PostHog / posthog

🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://posthog.com
Other
21.46k stars 1.28k forks source link

Pass through side panel params when signing in #20182

Open corywatilo opened 8 months ago

corywatilo commented 8 months ago

URLs with parameters work fine for opening side panel pages (like specific docs pages) when signed in, but they don't get passed through correctly when not signed in,.

For example, when clicking this link...

image

... it opens the login page, but after signing in, it opens the docs panel but not this specific page:

https://us.posthog.com/login?next=%2F#panel=docs%3A%2Ftutorials%2Fnode-express-ab-tests


Will be used in https://github.com/PostHog/posthog.com/pull/7732 and will be able to show this block when signed out.

benjackwhite commented 8 months ago

Ah crumbs. I don't think we can do it. # params aren't sent to the server which is responsible for the redirect I believe...