API Design · Senior · Question 32 of 75

Why should JWT access tokens for APIs be validated strictly?

Explanation

Audience checks stop a token issued for service A being replayed against service B.

Further reading

Problem with a question

API Design · Senior · question 32

Test yourself

Take the API Design · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz