Theo's Typesafe CultTTC
Theo's Typesafe Cult4y ago
11 replies
devagr

supabase auth with trpc?

I can't seem to figure out a good way to add supabase auth to trpc similar to how nextauth is integrated in create-t3-app.
I am specifically having issues creating a protected trpc route with supabase auth
They have the withApiAuth for protected routes, but I want something similar to getServerSession that just returns a null value that I can write code to handle.
Was this page helpful?