Question 330
During post-change review of the requirement “Two APIs share a tenant but each must validate access tokens intended for its own audience,” an auditor observes: API B accepts a validly signed token originally issued for API A. Which root-cause finding would explain that symptom?
Explanation
Correct Answer
Correct diagnosis. The receiving API does not verify the audience claim. This fault explains the observed failure: API B accepts a validly signed token originally issued for API A. The intended configuration would instead be: Configure the API's expected audience/app ID URI and validate issuer, audience, signature and scopes or roles as appropriate.
Incorrect Answers
The service used a system-assigned identity whose lifecycle ended with the old compute instance. The reported symptom instead has this cause: The receiving API does not verify the audience claim. The corrective action is: Configure the API's expected audience/app ID URI and validate issuer, audience, signature and scopes or roles as appropriate.
The federated credential's subject or audience does not match the issued workload token. The reported symptom instead has this cause: The receiving API does not verify the audience claim. The corrective action is: Configure the API's expected audience/app ID URI and validate issuer, audience, signature and scopes or roles as appropriate.
The VM app is requesting a token for the wrong resource audience. The reported symptom instead has this cause: The receiving API does not verify the audience claim. The corrective action is: Configure the API's expected audience/app ID URI and validate issuer, audience, signature and scopes or roles as appropriate.