Calling a Helper API in an Azure APIM Inbound Policy
Bryan Soltis explores how to incorporate API authentication into APIM.
With Azure APIM, developers can register and expose their APIs, regardless of where they are located. The built-in developer portal and subscription/products system allows for an extremely customizable consumer experience, as organizations can tailor their API offerings to their users’ needs. It’s an extremely versatile tool in the Azure arsenal and one every API developer should know.
Recently, I had a client that was looking to migrate hundreds of existing APIs to Azure APIM. Part of this change would be to support their existing client credentials/logins that they validate with a home-grown API within their network. The challenge was how do they incorporate that authentication API into their APIM calls? Inbound Policies to the rescue!
I created a PoC to show how this can be done within APIM. Let’s see how I did it.