How to Manage Backend JWT Access Tokens in Next Auth and Next.js 13

In this video, we’ll show you how to manage backend JWT in Next-auth and Next.js 13. We’ll cover how to store and access backend JWT tokens inside the Next-Auth session in Next.js applications.
#nextjs13 #nextauth #authentication

Subscribe to my channel

Detailed video about next-auth:
Role-Based Authorization with next-auth:

GitHub Repo:

my discord server:

0:00 Intro
0:17 What is the problem
3:25 Setting up next-auth with next.js 13
10:25 Solving the problem of missing access tokens in next auth
12:19 Auto completion and type safety for user type in next auth session
14:32 Sending the access token with HTTP request to the backend