Effect CommunityEC
Effect Community4w ago
6 replies
polaris_s0i

Accessing User in Handler After Middleware in Effect Typescript

I'm trying to create an http server using the schema based apis and use the Authorization middleware example provided at https://github.com/Effect-TS/effect/blob/main/packages/platform/README.md#implementing-httpapisecurity-middleware.
I'm not understanding how to access the User in my handler after its been created by the middleware.
Was this page helpful?