A security alert indicates a privilege escalation attempt using token exchange. Claims in the JWT look valid, but the ‘aud’ and ‘iss’ fields are inconsistent with expected services. Which interpretation is most accurate?

Answer

Token signature verification is necessary but not sufficient; you must validate issuer/audience/expiration and enforce service-specific claim checks

Explanation

Signature validation proves integrity, but security also requires enforcing semantic claim constraints like issuer/audience and freshness.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list