Загрузка видео...
Не удалось загрузить видео
Protect routes with next-auth middleware in Next.js 13
139,308 просмотров • 2 лет назад •via X (Twitter)
Комментарии: 9

How are you doing these animations? 👀👀

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

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

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

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

Nice!

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 :)

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

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)

