-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is the egghead tutorial still current? #10
Comments
I had the same issue. You need to disable RLS in the table configuration. |
@MincePie - In the supabase-js v2 update, the cookies and auth method have changed and the newest Stripe Checkout setup is slightly different than what is explained in the course at the moment. I have an updated course repo: https://github.com/jinsley8/nextjs-supabase-stripe-saas |
I agree this is completely outdated my only issue is everything else is working for mer right upto video 19 where we are using the axis api and setAuthCookie - this function was removed but what do I use instead? Ive looked at your repo and you haven't used the cookie at all? |
I don't think you need to set any cookie anymore thanks to the auth helpers functions. Through createServerSupabaseClient you can get the authenticated user from the session server side. Correct me if I'm wrong @jinsley8 ;) |
@callmejumeh @laurencebedford the repo I posted uses the auth helpers. I haven't updated it in 7 months though but it should still work. |
Ah it's so annoying I didn't get this GitHub notif so been sitting on this issue for a while. I will check this out now. |
I'm trying to learn from this egghead tutoiral: https://egghead.io/lessons/supabase-query-data-from-supabase-using-next-js
I am not able to read from the supabase database as per lesson 4. I have changed the nextjs version in package.json from latest to v 13.0.2 . Whilst this clears the errors in the terminal and the console, I can only read an empty array when I console log the output of the lesson table.
Maybe this tutorial is no longer current. Is that the case? Do you know if there are any changes that can be made to continue trying to learn some principles from the tutorial - or is it too out of date to be a starting point to learn?
I have been trying to learn basics for 10+ years and am yet to find a current resource that I can understand (I need CS50, replit 100 days of code level dummies explanations). If this is out of date, I wont keep trying to figure out what's going wrong, but if there are small changes that can be made to make this useful - I very much like the tutor's style so far and would like to try and learn.
The text was updated successfully, but these errors were encountered: