Supabase Authentication with Next.js Server actions: Sign up | Login | Logout | Reset Password
HTML-код
- Опубликовано: 3 авг 2024
- Authentication is generally crucial in any web application to manage users.
So what's the agenda today? We are going to Create an authentication flow for users to be able to Sign up, Login, Logout, and also Reset their Password using Supabase Auth and Next.js App router with server actions and @supabase/ssr package
Source Code: github.com/Ankomahene/supabas...
00:00 Introduction
01:13 Walkthrough
10:02 Quick start
14:32 UI and Pages
19:07: Sign Up
33:24 Auth Buttons State
38:29 Logout
41:10 Login
46:51 Reset Password
59:12 Protecting Routes
01:02:12 Testing all flows
01:06:05 Conclusion
Twitter
/ mrshad_official
#nextjs14 #authentication #supabase
Great video, pal
Very smart use of Url query params, works flawlessly in Next.js 14, SSR context, highly customized app routes. Thank you 😀
Thanks pal! I have similar app but your one goes further. Happy ti test your approach. Well done!
Thanks God bless you
You are the best, let me subscribe
Thanks man, you helped me a lot
Really helpful! thank you
thanks man, great video 🚀
thank you so much bro, big help for me
Thank you!!
Thanks!!
Impressive, I love it
i have Auth session is missing in production, when i try to reset password, what is it?
I found ! in supabase just go to the authentication tab and remove the localhost for your production link.
in production the email link 'forgot my password' redirects me to localhost, is there any additional configuration in supabase to do?
I found ! in supabase just go to the authentication tab and remove the localhost for your production link.
Please what is the vs code extension
Thanks
i got this error exchangeCodeForSession AuthApiError: invalid request: both auth code and code verifier should be non-empty meanwhile i am sure that i had the code in the url and also in the console.log
I have the same did you find a fix?
Very helpful, thank you!