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
TtRPC
Created by riprsa on 7/7/2024 in #❓-help
Cannot figure out the correct type
export const api = createTRPCClient<AppRouter>({ ... })
5 replies
TtRPC
Created by riprsa on 7/7/2024 in #❓-help
Cannot figure out the correct type
hm, i got a horrible error when i tried to use it, so may be i need a different approach
5 replies