Protect routes with next-auth middleware in Next.js 13
@asidorenko_35K followers
139,661 views
9 Comments
Comments from the original post on X (Twitter)

@theo
How are you doing these animations? 👀👀
27 likes

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

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

@nabilroslizar
Can you explain to me what does “protect” actually mean
1 like

@asidorenko_
It means that users need to sign in to access the page.
6 likes

@smakosh
Nice!
1 like

@sachittechB
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 :)
1 like

@olliethedev
Love the Next.js 13 ❤️ The dev experience is so nice!
1 like

@cantyousay
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)
1 like