Opts in trpc conext doesnt have request in it
I am using clerk with trpc, i am unable to created protected route since opts.req is always undefined when creating getAuth
I am using this url https://clerk.com/docs/references/nextjs/trpc for setup
Integrate Clerk into your Next.js app with tRPC | Clerk
Learn how to integrate Clerk into your Next.js application using tRPC. tRPC can be used with Clerk, but requires a few tweaks from a traditional Clerk + Next.js setup.
0 Replies