Skip navigation
Protect routes with next-auth middleware in Next.js 13
0:00 / 0:44

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

Alex Sidorenko

@asidorenko_35K followers

Visit on X
1,241 likesDownloadOriginal post

139,661 views

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

9 Comments

Comments from the original post on X (Twitter)

  • Theo - t3.gg's profile picture

    @theo

    How are you doing these animations? 👀👀

    27 likes

  • Alex Sidorenko's profile picture

    @asidorenko_

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

    91 likes

  • Namya @ Supafast's profile picture

    @namyakhann

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

    2 likes

  • Nabil Roslizar's profile picture

    @nabilroslizar

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

    1 like

  • Alex Sidorenko's profile picture

    @asidorenko_

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

    6 likes

  • Smakosh's profile picture

    @smakosh

    Nice!

    1 like

  • Sachit Malhotra's profile picture

    @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

  • Ollie Martynov's profile picture

    @olliethedev

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

    1 like

  • cantyousay's profile picture

    @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