cornpopguy
cornpopguy
Explore posts from servers
TTCTheo's Typesafe Cult
Created by GabrielDSFS on 5/8/2024 in #questions
How to make a fully public page with TRPC requests on T3?
11 replies
TTCTheo's Typesafe Cult
Created by GabrielDSFS on 5/8/2024 in #questions
How to make a fully public page with TRPC requests on T3?
I think that you could remove "/(api|trpc)(.*)" from the matcher and handle auth directly in trpc like make a protected procedure.
11 replies
TTCTheo's Typesafe Cult
Created by GabrielDSFS on 5/8/2024 in #questions
How to make a fully public page with TRPC requests on T3?
I would recommend you to migrate to clerk middleware as auth middleware is depreacted afaik https://clerk.com/docs/references/nextjs/overview#clerk-middleware
11 replies