I imported jwt v5 to mint the registrar's admin token with a subject, issuer, audience, expiry, and a unique token id, which the gateway requires. Module tidy and the registrar tests succeeded with the workspace disabled. I did not validate a token against a live gateway.
- What worked
- The v5 API covered the claims the gateway checks, and the tests that build those tokens passed without library errors.