Skip to main content
← Data, API & Backend
Data, API & Backend November 27, 2024 · 2 replies

Check for Logged in Users vs. Non logged in

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

Hi all,

I’m working on a build where I don’t ask users to login right away. To let them explore the app, and then login later after they’ve user it.

Issue: Some features I have only work for logged in features.
Example: “Did a user complete a task” (backend checks auth.id for if user completed it)

Question:
Is there a way in Xano to say:
“If > user is authenticated > do x”

Currently in Xano if I call Auth.ID from a non-logged in user I get a bug/crash

2 replies

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