Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to connect uploadthing to the Clerk auth? - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
3y ago
•
4 replies
ronank_
How to connect uploadthing to the Clerk auth?
I am using the pages directory and want to protect my file upload using Clerk
's getAuth
. I get the following error
: ERROR
! An error occured when running the middleware for the imageUploader route
Solution
I think I had the same problem as you and used
https://github.com/matthewspear/uploadthing-clerk-app
to fix it
GitHub
GitHub - matthewspear/uploadthing-clerk-app
Contribute to matthewspear
/uploadthing
-clerk
-app development by creating an account on GitHub
.
Jump to solution
Theo's Typesafe Cult
Join
26,564
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Auth??! Clerk vs Auth0
TTC
Theo's Typesafe Cult / questions
5mo ago
uploadthing auth
TTC
Theo's Typesafe Cult / questions
3y ago
Clerk auth
TTC
Theo's Typesafe Cult / questions
4y ago
Uploadthing and Clerk work together?
TTC
Theo's Typesafe Cult / questions
3y ago