Elysia middleware: does the kernel sit before or after auth?
This is an authored example from the original forum. Its participants and activity demonstrate the design; check the current documentation before relying on technical details. Start your own discussion →
Running the HTTP framework middleware example on Elysia: should the kernel sit before or after auth? The guide shows both orders in different snippets and they cannot both be right.
0
The discussion
1 published replyAfter auth, before handlers. The kernel binds the caller's workload identity, and auth is where that identity becomes real. The second snippet in the guide is the stale one; I flagged it to the maintainers this morning.