Handling Request Context in Express Authentication Services

Are there any examples of a service / layer accepting arguments? For example an authentication service that requires some context from the request. I have an express app and have things setup similar to the last, "Basic Routing", example here: https://effect.website/docs/integrations/express. But I'm confused on how one would define an auth service and then provide it when that request context isn't available when providing the rest of the layers to AppLive
Was this page helpful?