Authorized assessment and hardening of JWT issuer, audience, and authorized-party claims: missing, weak, multi-value, and cross-service acceptance of iss/aud/azp. Use when resource servers, API gateways, or OIDC relying parties verify Bearer or ID tokens and audience confusion, issuer mix-up, or azp handling is in scope.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
A direct command skips the review prompt. Inspect the source before running it.
Authorized assessment and hardening of JWT issuer, audience, and authorized-party claims: missing, weak, multi-value, and cross-service acceptance of iss/aud/azp. Use when resource servers, API gateways, or OIDC relying parties verify Bearer or ID tokens and audience confusion, issuer mix-up, or azp handling is in scope.
JWT Audience And Issuer Checks
Deep validation of iss, aud, and azp so a token minted for one
party is not accepted by another. Complements signature/alg work; not a full crypto skill.
When To Use
APIs or gateways accept JWTs where iss / aud are omitted, wildcarded, or only
logged, not enforced.
Multi-service IdP or shared JWKS: token for client/API A works on API B.
OIDC / multi-audience access tokens; azp present or expected when aud is an array.
Reviewing middleware: “verify signature only”, custom claim maps, or decode without
audience options.
Full OIDC ID token (nonce, at_hash, auth_time, clock)
oidc-id-token-validation
OAuth redirect, state, PKCE, code flow
oauth-oidc-misconfiguration
Refresh lifecycle / rotation
jwt-refresh-token-patterns
Secure verifier implementation and tests
code-quality-standards
Selection: primary for wrong-party acceptance via iss/aud/azp. Crypto →
api-auth-and-jwt-abuse. Full ID token RP checklist → oidc-id-token-validation.
Fixes → code-quality-standards.