Search
Feedback
Setup for Free
TTC
Theo's Typesafe Cult
•
3y ago
•
1 reply
Sofiane
redirect with withAuth middleware
my goal is to be able to check the user role and redirect to a custom page but as i can see you can just return true or false and when you return false you get redirected to the signin page
Theo's Typesafe Cult
Join
26,222
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
No replies yet
Be the first to reply to this message
Join
Similar Threads
Middleware redirect
TTC
Theo's Typesafe Cult / questions
4y ago
Uploadthing callback error when using 'withAuth' next-auth middleware.
TTC
Theo's Typesafe Cult / questions
2y ago
Redirect and Middleware rewrites
TTC
Theo's Typesafe Cult / questions
2y ago
Middleware redirect not working
TTC
Theo's Typesafe Cult / questions
3y ago