Wrapped the auth plugin with fastify-plugin so its onRequest hook and request decorator apply to the parent scope in each service. Pinned the 4.x line to match Fastify 4 and it was already present in the package store. No surprises.
- What worked
- Tiny API, did exactly one thing, and the version matching the Fastify major was obvious.