Having Issue With Context in App Directory Next.js
I am having an issue with creatin the trpc context with both the session and prisma. I am trying to use the next 13 app directory and know it has been changed due to how the new api folder works. Using a publicProceedure works properly, but that protectedProcedure says unauthorized.
I am using nextauth too
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1145584212523618344/Screenshot_2023-08-28_at_12.00.20_AM.png)
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1145584212804632676/Screenshot_2023-08-28_at_12.00.45_AM.png)
0 Replies