Reputation: 1052
I have a nextjs react app. It uses next-auth to create JWT. This app will send post requests to a nestjs backend. I'm planning to send my next-auth JWT as bearer token in request header and my nestjs backend will need to validate it using passportjs.
Is this a reasonable use case? Can passportjs validate my next-auth JWT?
Upvotes: 4
Views: 5787