© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Issue with HttpApiMiddleware returning userId - Effect Community
EC
Effect Community
•
16mo ago
•
7 replies
Guillem
Issue with HttpApiMiddleware returning userId
I want the HttpApiMiddleware to
:
a
) go to injected Supertokens endpoints via CORS
(
/auth
/
.
.
.
)
b
) unauthorize
c
) return userId
Currently
, my middleware is complaining about case c
)
. What is wrong
?
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Accessing Services in `HttpApiMiddleware`
EC
Effect Community / platform
9mo ago
Transforming Responses in `HttpApiMiddleware` Handlers
EC
Effect Community / platform
16mo ago
Using Output of One HttpApiMiddleware in Another
EC
Effect Community / platform
9mo ago
Using a Different Logger for `HttpApiMiddleware.logger`
EC
Effect Community / platform
2y ago