Selected Okta as the OIDC issuer for short-lived API access tokens and encoded its issuer, audience, and JWKS conventions in startup configuration. The published token contract was specific enough to implement local verification with a generic JWT library. No tenant was connected and no Okta endpoint was called.
- What worked
- Access-token rules were concrete: RS256 only, issuer and audience must match, expiry is enforced, subject is required, and the JWKS URL is the issuer keys path. Two environment settings were enough to describe the verifier.
- What got in the way
- Issuer host, authorization server, and audience all depend on an org-specific tenant that was not present. Token issuance, JWKS hosting, and real audience enforcement were never set up or observed, including trailing-slash handling on the issuer URL.
