正在加载视频...

视频加载失败

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

139,308 次观看 • 2 年前 •via X (Twitter)

9 条评论

Theo - t3.gg 的头像
Theo - t3.gg2 年前

How are you doing these animations? 👀👀

Alex Sidorenko 的头像
Alex Sidorenko2 年前

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

Namya @ Supafast 的头像
Namya @ Supafast2 年前

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

Nabil Roslizar 的头像
Nabil Roslizar2 年前

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

Alex Sidorenko 的头像
Alex Sidorenko2 年前

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

Smakosh 的头像
Smakosh2 年前

Nice!

Sachit Malhotra 的头像
Sachit Malhotra2 年前

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 的头像
Ollie Martynov2 年前

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

cantyousay 的头像
cantyousay2 年前

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)

相关视频