You are securing an Azure API Management (APIM) gateway endpoint. You need to ensure that the APIM gateway validates the JSON Web Token (JWT) provided in the authorization header of incoming requests before forwarding the requests to the backend service. In which section of the APIM policy XML configuration must you place the validate-jwt policy?
- inboundAnswer
- Boutbound
- Cbackend
- Don-error
Answer
inbound
Placing the validate-jwt policy in the inbound section ensures that the JSON Web Token is validated before the request is processed further or forwarded to the backend service.
Step-by-Step Solution
Key Concept
Azure API Management policies are executed in specific sections based on the request flow, and token validation must occur in the inbound section to protect backend resources.
Estimated Time:45s