I solved this problem by redirecting users to an empty page called ‘Logout’ with two workflows. It works perfectly.
For my app where I use Auth0, I was trying to log someone out on the same page where they get redirected when they log in (it’s a single page app).
My guess as to why this was happening was that I was logging them out of Bubble, and then Auth0 but in the time it took to process the Auth0 logout they’d already been logged back in as the Auth0 session was still active.
Josh @ Support Dept
Helping no-code founders get unstuck fast save hours, & ship faster with an expert on-demand