Next 14 + TRPC + Clerk How to implement api authorization?
I am just following Theo's guide but it seems like the Next.js version is v13 and it seems that the code base between those 2 versions are different.
3 Replies
Hi @mg, as far as I know there is no code changes from Next 13 to 14, but you are probably using app router, while in the tutorial Theo is using the pages router
If that's the case, the Clerk docs for NextJS are probably your best friend:
https://clerk.com/docs/quickstarts/nextjs
Add authentication and user management to your Next.js app with Cle...
Learn how to use Clerk to quickly and easily add secure authentication and user management to your Next.js application. Clerk works seamlessly on both client side and server side components.