-
Notifications
You must be signed in to change notification settings - Fork 1.7k
bug: invite modal param is not working #32640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @zlwaterfield, could you share more details about the bug that you are facing? I tried it out and it seem to work: Screen.Recording.2025-05-26.at.7.56.07.AM.mov |
I also confirm I see the feature working as expected. @zlwaterfield is there a specific page/use case you've seen this broken on? |
That's odd, I assumed it didn't work on all URLs but it looks like it may just be https://us.posthog.com/home?invite_modal=true. This URL was being used in some emails, it was reported from a customer. Can you look into why it's only happening here? |
Hey @zlwaterfield @yasen-posthog , it seems like the redirects are not passing along the query parameter. You can check out the list of redirects here: posthog/frontend/src/scenes/scenes.ts Lines 504 to 517 in 96831a0
List of urls i tried that won't work: |
@zlwaterfield @yasen-posthog I made #32944 to try and address the issue, feel free to close/take over, thanks! |
Bug Description
We have a query param named
invite_modal
which is mean to open the team member invite modal when the app is loaded if it's present in the URL.See code here:
posthog/frontend/src/scenes/settings/organization/inviteLogic.ts
Lines 174 to 180 in 2ecd810
Here is what the modal looks like:

It is not opening the modal, we should investigate why and get it working.
Debug info
The text was updated successfully, but these errors were encountered: