Auth0 integration logout

Hi guys

I’m integrating auth0 with bubble.

The login works but I can’t get the logout to work.

In fact, the logout seems to go well but the next time I try to log in, the login popup no longer appears but enters the app directly.

Probably because the login cookie is not deactivated.

In this way it is not possible to switch users except by manually clearing the cache,

How can I solve the problem?

I solved this problem by redirecting users to an empty page called ‘Logout’ with two workflows. It works perfectly.

Screen Shot 2022-05-09 at 12.02.55 pm

Screen Shot 2022-05-09 at 12.03.01 pm

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 :rocket:save hours, & ship faster with an expert :man_technologist: on-demand

I post daily about no-code and Bubble on Twitter Follow Support Dept on Twitter

This topic was automatically closed after 70 days. New replies are no longer allowed.