Requirement: We have search APIs which we need to be provided to our 100 different partners.
1.) For securing the API we would need to give unique ClientID/Secret to the partner
2.) After the client calls the API, I would need to know which partner has called the API through the token so that I can query the data specific to that partner only and provide data in response.
In the current world, we are doing this through Oracle API Gateway by generating separate ClientID’s per partner and providing new ClientID’s and Secret to each partner.
We are currently moving to Azure APIM and when I am trying to do that same in Azure, In Azure I could not figure out the option of having to create multiple ClientID and Secret for the same API within an App. Could you help me how can I attain this?
If I create multiple Apps in Azure AD, my understanding is every time I create an APP I will need to add the ClientID in the “Inbound processing “” Policies” in the API Management APIs, Where I registered my API’s. Which I don’t want to do as it's an additional manual task for onboarding partners to consume the APIs. Also, I am not sure if the above Inbound Policies can accept multiple ClientID’s
My requirement is:
1.) One-time API registration and if I need to provide the APIs to new Partners, I should be able to just generate the unique ClientID and Secret and provide them these ID's and they should be able to use the API
2.) When the partner calls the API, I should be able to recognize the partner call so that in my downstream based on the partner who called the API, I will search the data specific to that partner and provide in my API response.
Hope I clarified the details here. Please help what option do I have to register the API’s in Azure AD with the above requirement
