WeWeb Unify & Front-end Auth Out of Sync | Supabase

Has anyone else had an issue when using the Supabase Auth integration via WeWeb Unify (Data & API), where the front-end has the user as authenticated and stays authenticated as expected - but data retrieval via the WeWeb server hits an “Unauthenticated Access” error?

This is easily resolved with a hard refresh or by signing out and back in - but this is causing users to hit a page with all data showing as zero and empty and in the backend I can see the “Unauthenticated Access” errors from Supabase, but the user is still authenticated on the front-end and not redirected to the login page. This always happens after some x amount of time - I have now written an auto hard refresh into my On Page Load event that will trigger only when fetching of a view fails, which is obviously not ideal.

Hey @Janus :waving_hand:

Would you be able to share a short video walking us through how things are set and what’s happening by any chance?

I haven’t come across this on my side.