0

I'm facing a problem when I try to call an API from Azure APIM using the JWT validation in the inbound process here's the conf : APIM policy conf

accessToken retrieved from the client application : data retrieved from azure b2c when authentication succeed

when I try to call the API from Azure APIM using Postman I'm getting always this error : Postman call to azure APIM

Do you think I missed something explain this result please ? thanks for your help

1 Answers1

0

JWT is predominantly used for authorization. The access token contains a hash of header and payload based on the algorithm provided in the header. You can check this using JWT playground.

The error might be because of the policy. As the access token received from the server should be able authorize the api call . Refer the following API Management access restriction policies

you can also refer this article.

Mohit Ganorkar
  • 1,917
  • 2
  • 6
  • 11