Web Security · Senior · Question 46 of 75

Why should API access tokens have a specific audience (aud)?

Explanation

Each resource server should reject tokens whose audience isn't itself. Otherwise a low-trust service can reuse tokens on a high-trust one.

Further reading

Problem with a question

Web Security · Senior · question 46

Test yourself

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

Take this quiz