---
title: "Comment by Catalin Pit on \"NextAuth the easiest authentication for Next.js\" | Hashnode"
description: "Interesting, thanks for writing this! 😊 I&#39;d be curious how do you create protected pages and profile pages. I need to have a look and find out how to do it"
url: "https://hashnode.com/posts/nextauth-the-easiest-authentication-for-nextjs/6170fe2b0f452c1cd94f5d48/comment/617126250c5e175a1c6124c6"
---

[Discussion](https://hashnode.com/posts/nextauth-the-easiest-authentication-for-nextjs/6170fe2b0f452c1cd94f5d48)

Comment [NextAuth the easiest authentication for Next.js](https://hashnode.com/posts/nextauth-the-easiest-authentication-for-nextjs/6170fe2b0f452c1cd94f5d48)

[Catalin Pit](https://hashnode.com/@Catalinpit)

[Oct 21, 2021](https://hashnode.com/posts/nextauth-the-easiest-authentication-for-nextjs/6170fe2b0f452c1cd94f5d48/comment/617126250c5e175a1c6124c6)

Interesting, thanks for writing this! 😊

I'd be curious how do you create protected pages and profile pages. I need to have a look and find out how to do it!

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Oct 21, 2021](https://hashnode.com/posts/nextauth-the-easiest-authentication-for-nextjs/6170fe2b0f452c1cd94f5d48/comment/617126250c5e175a1c6124c6#reply-617130730c5e175a1c612645)

Thanks Catalin!

The protected pages are actually super simple with NextAuth. See this demo on their website:

[next-auth-example.vercel.app](https://next-auth-example.vercel.app/)

[Catalin Pit](https://hashnode.com/@Catalinpit)

[Oct 21, 2021](https://hashnode.com/posts/nextauth-the-easiest-authentication-for-nextjs/6170fe2b0f452c1cd94f5d48/comment/617126250c5e175a1c6124c6#reply-61716c440c5e175a1c612cd6)

Amazing! Thank you, [Chris Bongers](https://hashnode.com/@dailydevtips)!
