Loading video...

Video Failed to Load

Go Home

Protect routes with next-auth middleware in Next.js 13

139,308 views • 2 years ago •via X (Twitter)

9 Comments

Theo - t3.gg's profile picture
Theo - t3.gg2 years ago

How are you doing these animations? 👀👀

Alex Sidorenko's profile picture
Alex Sidorenko2 years ago

I use Apple Keynote. It has a great animation toolset. The code transition is a magic move animation between two slides.

Namya @ Supafast's profile picture
Namya @ Supafast2 years ago

No more watching lengthy tutorials on YouTube for @nextjs Alex is dropping bombs! 🤩

Nabil Roslizar's profile picture
Nabil Roslizar2 years ago

Can you explain to me what does “protect” actually mean

Alex Sidorenko's profile picture
Alex Sidorenko2 years ago

It means that users need to sign in to access the page.

Smakosh's profile picture
Smakosh2 years ago

Nice!

Sachit Malhotra's profile picture
Sachit Malhotra2 years ago

Looks awesome. Thanks for sharing. Can you let me know how you created the video ? I am keen to learn as i am starting to share my work and this looks like an awesome way to share. Thanks :)

Ollie Martynov's profile picture
Ollie Martynov2 years ago

Love the Next.js 13 ❤️ The dev experience is so nice!

cantyousay's profile picture
cantyousay2 years ago

next-auth doesn't provide a good solution to test OAuth login on Vercel preview URLs tho (issue with the vercel preview URL that is randomly generated and NEXTAUTH_URL env variable that needs to match the callback url set on the provider)

Related Videos