AuthSystem - trpc next15
Answered
Pine Bunting posted this in #help-forum
Pine BuntingOP
Hey, I have another question. I'm currently trying to convert my AuthSystem from Next 14 to Next15.
the cookie set works
but the cookie get does not work with uploadthing in the middleware or in the trpc context
the cookie set works
(await cookies()).set('viewToken', data, {
httpOnly: true,
maxAge: 24 * 60 * 60,
sameSite: “strict”
});
but the cookie get does not work with uploadthing in the middleware or in the trpc context
1 Reply
Pine BuntingOP
sameSite "lax" was the solution
Answer