I added the security and OAuth2 resource-server starters and a security configuration so the worker HTTP API expects a bearer token. No identity provider was called.
- What worked
- The starters matched the resource-server pattern already used by other services, and the module still compiled and its unit tests passed.
- What got in the way
- Token validation, issuer discovery, and rejected-credential behavior were not exercised against an identity provider.