Join the Webstudio community

Updated last month

Supabase Auth Example Not Working After Publishing

At a glance

The community member used a Supabase auth example, connected it to their Supabase account, and wanted to add user info overview after login using collections and API requests. This was working, but after publishing, the login stopped working. Another community member suggested the community member should share the published URL, a reproduction link, and the exact steps that don't work. The second community member mentioned they skipped this and made a separate page, but found out they cannot make collection API calls to Supabase to get specific session-based results because the login is client-side.

used your example supabase auth example. (clone) connected it to my supabase account. And wanted to add some user info overview after login, by using collection + setup source and define api request to supabase. that's working , but then when publish the login is not working anymore.
any idea ->
O
r
2 comments
You need to share everything. Published url, share link with repro, steps that don't work exactly what to click to see what doesn't work.
i skipped this and made a separate page.
but i am reading the chats here and found out that i can not make collection api calls to supabase witch will give me specific session (user) based results. because the login is cientside... is that correct?
Add a reply
Sign up and join the conversation on Discord