riprsa
riprsa
Explore posts from servers
TTCTheo's Typesafe Cult
Created by riprsa on 7/10/2024 in #questions
NextAuth session injection
document.cookie = "next-auth.session-token=" + req.data.identity.token;
4 replies
TTCTheo's Typesafe Cult
Created by riprsa on 7/10/2024 in #questions
NextAuth session injection
Basically, 3) can return a JWT token with some credentials and set it to cookies. I need a way to make sure NextAuth.js understands that this JWT is legit.
4 replies