Ability to end user session (logout) from within a published React app

Hi,

It seems that we’re unable to logout within the newly build app using the original Retool configuration.

Hey @RetoolPV - do you mind describing the issue in a little more detail? Are you looking for the ability to log out as shown below?

Hey @Darren . We’re indeed not able to add some sort of navigation via the MCP-builder that will actually log the user out and send them back to the Retool’s login interface. Just like we’d normally configure for the classic apps.

Got it - thanks for confirming. :+1: There was a recent conversation about which parts of this interface to expose in the new app interface, so I'll share your feedback there and follow up as soon as I can!

Any updates here? Also struggling with a “Logout” feature when running an external app on the new app builder.

Would a workaround like redirecting the user to something like the below work?:

https://myretoolspace.retool.com/app/myshinymcpapp/logout

Unfortunately not. The URL structure on the new app builder is different too. My app URL is like

https://myretoolsspace--myretoolappname.retool.app/

I tried playing around with different “/logout” structures, but none did the trick.

Welcome to the community, @kovy! I've also tried implementing a variety of workarounds, but ultimately believe that this is just a gap. I filed a request with the relevant team, though, and will follow up here as soon as I have an update!

The other workaround that I can think of is to create a blank “classic” app and redirect your users to it’s logout url to log them out of retool

1 Like

Interesting idea! I think that's technically feasible, but haven't specifically tested it. :thinking: