Role Based Authorization with Next-Auth and Next.js 13

In this video, I Show You a practical example of how We can implement Role Based Authorization with next-auth package in Next.js 13 as well as how to store and manage backend jwt access tokens inside the next-auth session. This video is a continuation of the previous video on next-auth so if Your not familiar with next-auth package I highly recommend you to watch previous video first. this is the link of previous video:https://youtu.be/cDWytA0V2kI.

Subscribe to my channel https://www.youtube.com/channel/UCTKSxERKbrpQOTa7QjDPjZg?sub_confirmation=1

Github repo: https://github.com/vahid-nejad/next-auth-nextjs13