Hi, I’m debugging an invite/auth flow issue on my production app using Supabase Auth.
My app is hosted at medmantis.com and is currently early-access only. I want invited testers to click an invite link, be recognised as approved, log in, and land inside the app with the correct access level.
Problem: invited users are not flowing through correctly after invite acceptance. I can send invite links, but when the invited user clicks the link, they often get redirected to the landing page or a waitlist / “not approved yet” page instead of the authenticated app area. So the invite accept flow is not consistently turning into actual app access.
There is also a related login redirect problem: users can authenticate, but still get routed back to the landing page instead of the correct post-login route.
I’m also seeing an access-state issue after auth. In some cases the user exists in Auth, but they do not reliably get the expected access / pro entitlement in app logic afterward.
Relevant details:
Invite links are Supabase verify links with type=invite and redirect_to=https://medmantis.com Invite acceptance previously dumped users onto the landing page I’ve seen email rate limit exceeded when sending more invites Possible issue could be redirect URLs, route guards, session restoration timing, or custom approved-user logic There may also have been an old localhost/dev redirect somewhere in config
What I need:
Invite tester Tester clicks link Tester is recognised as approved Tester is redirected into the app, not landing/waitlist Correct access level is applied
Main questions:
What is the correct Supabase invite flow architecture for redirect_to, session creation, and post-login routing? Should invited users also be inserted into my own approved/access table separately? What usually causes invite auth success but frontend waitlist gating afterward? Best way to isolate whether this is Supabase config or frontend auth guard logic?
The user is experiencing issues with the invite/auth flow in their app using Supabase Auth. Invited users are redirected to the landing or waitlist page instead of the app after accepting an invite. The user seeks guidance on the correct invite flow architecture and troubleshooting tips for redirect and access issues.
Which framework or library is your website built with? how did you setup Supabase in your project? is there a session created when the user clicks the link in the invite email?