Hi! I’m having an issue with authentication state across pages in production.
Here’s what’s happening:
- I log in successfully (Supabase Auth plugin).
- I get redirected to
/dashboard
after login – this works fine. - But when I go to another protected page (like
/qr-reader
or/animal-entry-form
), it asks me to log in again. - After logging in again, I get redirected to
/dashboard
, and the same cycle repeats.
Has anyone run into this before? How can I keep the user authenticated after login across all pages?
Thanks in advance!