You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm creating a project in NextAuth5 on Next15 and I'm running into a problem. I'm using Prisma DB connections for another part of the project, but I'd still like NextAuth5 to use JWT for Authentication. I have the following api\auth\[...nextauth]\route.ts file:
But when I hit POST api/auth/callback/credentials with the CSRF and Username I get back a authjs.session-token cookie not a JWT. What am I doing wrong? I can confirm my config is being picked up because the provider is working and I'm getting log outputs
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I'm creating a project in NextAuth5 on Next15 and I'm running into a problem. I'm using Prisma DB connections for another part of the project, but I'd still like NextAuth5 to use JWT for Authentication. I have the following
api\auth\[...nextauth]\route.ts
file:But when I hit POST api/auth/callback/credentials with the CSRF and Username I get back a authjs.session-token cookie not a JWT. What am I doing wrong? I can confirm my config is being picked up because the provider is working and I'm getting log outputs
Beta Was this translation helpful? Give feedback.
All reactions