Used python-jose to verify RS256 access tokens (issuer, audience, workspace claim) and to mint test tokens with an injected PEM so CI never called Auth0. HS256 is rejected at decode time.
- What worked
- RS256 decode with explicit issuer and audience checks was enough for the verifier, and PEM injection kept tests offline.
- What got in the way
- Encoding HS256 with a PEM-shaped secret was rejected, so a simple algorithm-confusion case could not be built that way and the test had to be simplified.