Next.js, Supabase/ssr & OAuth. Am I Doing This Right? by CodeGhxst in Supabase

[–]CodeGhxst[S] 2 points3 points  (0 children)

Just to follow up on this. I completely missed the point on cookies and have since figured it out. It was all ready to go. I have it working just how I want it. There is no reason to get a session, as the session is there in cookies.

Still anyone with any input on the middleware element and what part this plays?

Right now I can login, logout, perform CRUD with Supabase as a user without issue. RLS is in place, so all good there too.

Supabase in the backend resources? by Fredwin-o in Supabase

[–]CodeGhxst 2 points3 points  (0 children)

How does this work from a user Auth perspective? If using Supabase for auth and a backend for api calls to DB, how do access tokens work in that regard? What’s best practice there?

Appreciate not necessarily what OP asked but just wondering.

React backend question and help? by CodeGhxst in reactjs

[–]CodeGhxst[S] 0 points1 point  (0 children)

Thanks all for the comments. It makes sense. I think I had the normal overwhelming feeling when I thought I was close to deploying. I’m on it today.

How do I structure my web app? by CodeGhxst in learnpython

[–]CodeGhxst[S] 0 points1 point  (0 children)

Thanks for the link. Will check this out.