Skip to main content
← Data, API & Backend
Data, API & Backend March 6, 2022 · 4 replies

How to setup logout action?

Archived from the Bravo community forum (2021–2026). Some answers may refer to older versions of Bravo.

i am using Xano as my backend tool, how can I trigger logout action or what tag should I use

4 replies

Diego Iglesias Bravo team March 10, 2022

Hey Ronak,

the tag for triggering a logout action is [action:logout] and it can be placed in any layer (except top-level and container) just like the [action:login] one.

Debangshi December 30, 2023

@Diego Iglesias Hi Diego, is it possible to redirect the user back to the login page once they click on the logout button?

Diego Iglesias Bravo team January 18, 2024

@Debangshi Basu Actually the [action:logout] tag redirects the user back to the login page. Is it not working for you?

Joleen April 2, 2024

@Diego Iglesias Hi, I ran into the same issue, I’m using firebase for authentication, and I’m testing the logout feature. I am using action:logout:firebase but it’s not taking me back to the login page, it’s just a back screen

Wrote something in this thread and want it removed? Request removal

Still stuck?

Ask the community on Discord

This archive is read-only. New questions, office hours and product updates now happen in the Bravo Discord.

Join the Discord