GutoGalego
TTCTheo's Typesafe Cult
•Created by Mike on 6/27/2023 in #questions
Uploadthing and Clerk work together?
Yep, you definitely can
11 replies
TTCTheo's Typesafe Cult
•Created by Mike on 6/27/2023 in #questions
Uploadthing and Clerk work together?
Auth is one thing, the other functionalities of you app are another thing. You can make it so that any functionality is unavailable if a user is not logged in
11 replies
TTCTheo's Typesafe Cult
•Created by Mike on 6/27/2023 in #questions
Uploadthing and Clerk work together?
Usually, in T3 what I see is that people (including theo) create a private procedure in TRPC. https://trpc.io/docs/server/procedures
11 replies
TTCTheo's Typesafe Cult
•Created by Mike on 6/27/2023 in #questions
Uploadthing and Clerk work together?
You're using the t3 stack, so, say a user hit's the "upload" endpoint or whatever in your server route. It will be "unauthorized" because the user is not authed in
11 replies
TTCTheo's Typesafe Cult
•Created by Mike on 6/27/2023 in #questions
Uploadthing and Clerk work together?
Auth comes in before the request to upload stuff is made. Maybe you're mixing stuff up a bit
11 replies