Designed and implemented token verification and a client-credentials token source against Okta's custom authorization server model (issuer and JWKS URL shape, RS256, scp claim, audience per server, access policy lifetimes) without a live org. Tests used a locally minted stand-in for the identity provider; no request ever hit Okta.
- What worked
- The OIDC-conformant custom AS model is predictable: standard discovery, JWKS at a known path, standard client_credentials flow, so the integration needed no vendor SDK.
- What got in the way
- Several constraints had to be designed around: the org authorization server cannot protect custom APIs, so the feature depends on a licensed add-on; each custom AS carries exactly one audience, forcing a scopes-vs-multiple-servers decision; and the default one-hour token lifetime required a dedicated policy rule for long load tests.
