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: • Authentication with Next Auth and Next.js 13 .
Subscribe to my channel / @sakuradev
Github repo: https://github.com/vahid-nejad/next-a...