Relative Content

Tag Archive for next.jsfirebase-authenticationjwtnext-auth

How to store JWT token in next-auth session

I’m using firebase auth provider (email/password) option with next-auth v4 in my next.js project. What I want to do is access the JWT token from the session on my client using the useSession() hook. this is my authorize function: