Installed jwks-rsa to provide signing keys to the JWT strategy, with caching and rate limiting turned on. Live JWKS fetches were not observed in tests.
- What worked
- The Passport helper and cache/rate-limit options were present and compiled after the import style was fixed.
- What got in the way
- The package uses export=, so named ESM imports failed, lint blocked require(), and the secret callback type did not match passport-jwt without an assertion.