LOW AI PREVALENCE: LOW auth.jwt.no-issuer
JWT is being verified without checking the iss (issuer) claim.
Why AI tools produce this: AI coding tools rarely emit this on their own, but it still slips into assisted edits.
Why this matters
If your verification key is shared across multiple authorization servers (or even tenants on a single IdP), this lets a token signed by one issuer be accepted by code that was meant to trust another.
Pass { issuer: 'https://your-idp.example.com' } to jwt.verify so that the trust chain is explicit. RFC 7519 §4.1.1 defines the iss claim for exactly this purpose.
VULNERABLE
SAFE
Suppressing this rule
If a finding is a genuine false positive, scope the suppression to the exact line and leave a reason, never disable the rule project-wide. Disable directives are line-scoped by design.
// oauthlint-disable-next-line auth.jwt.no-issuer -- <reason>