Effect CommunityEC
Effect Community13mo 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?
Was this page helpful?