How do I sign out user in preview app

Hi @CharlesBN,

Here is how it works. When you launch an Adalo app (be it a browser-PWA or a native app), it looks whether an authentication token for a user exists (in other words, if some user is logged-in into the app already).
If a token doesn’t exist, the app redirects you automatically to “Welcome” screen.
If a token exists, then the app redirects you to “Home” screen.

So in your case, once you’ve logged in with some user, you are always redirected to home screen, which is expected. In order to logout, you need to add an action in the app somewhere to log out (Actions → More → User Log-In → Logout). E.g. you can add an action to some button and press it, your user will be logged out from the app and at the next time you are redirected to Welcome screen.

Best,
Victor.

1 Like