Closed Dosbodoke closed 1 year ago
[WIP]
Integrate Clerk with tRPC in order to enable protected routes
Pass the current user token trough the header Authorization and create a middleware on tRPC to validate this token.
Authorization
[WIP]
What is the purpose of this PR
Integrate Clerk with tRPC in order to enable protected routes
What was done to achieve
Pass the current user token trough the header
Authorization
and create a middleware on tRPC to validate this token.How to test if it works?