---
title: "Discussion on \"How to Set Up NextAuth.js with NextJS 14, App Router, and Typescript\" | Hashnode"
description: "Discussion on \"How to Set Up NextAuth.js with NextJS 14, App Router, and Typescript\". Set up NextAuth.js with NextJS 14 and TypeScript for authentication, managing sessions, creating routes, and protecting routes"
url: "https://hashnode.com/posts/how-to-set-up-nextauthjs-with-nextjs-14-app-router-and-typescript/6758258ebf7567800db7196c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Set Up NextAuth.js with NextJS 14, App Router, and Typescript](https://canerdemirciblog.hashnode.dev/how-to-set-up-nextauthjs-with-nextjs-14-app-router-and-typescript?utm_source=hashnode&utm_medium=feed)

Set up NextAuth.js with NextJS 14 and TypeScript for authentication, managing sessions, creating routes, and protecting routes

Dec 10, 2024 · 4 min read · canerdemirciblog.hashnode.dev  
Read the article

-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#nextauthjs](https://hashnode.com/tag/nextauthjs)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#authentication](https://hashnode.com/tag/authentication)
-   [#authorization](https://hashnode.com/tag/authorization)
-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[caner demirci](https://hashnode.com/@canerdemirci)

@canerdemirci · Bursa, Turkey

  
[View profile](https://hashnode.com/@canerdemirci)

Developer, who wants build app and games.

Programming is fun. It is nice to spend time with it and not realize how time passes, learning new things... I hope one day I will make awesome things with it.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
