Hi,
We have a central proxy that handles the authentication for our APIs by providing the endpoint /oauth2 where developers / applications can get access tokens. We use Apigee Products to control access to buckets of data, rather than having a few products, most of our Apigee proxies have one product matching to them.
Right now, we have an apigee proxy & product for oauth2, is it possible to grant all Apigee products in our instance access to the oauth2 proxy? I know I could manually do that, but it seems tedious and error prone. I know I could probably make some API calls as well to perform this task for every single product. Is there a better way? The other option is to have every single developer / app register for a minimum of two Apigee products (oauth2 and whatever api they are trying to access).
Solved! Go to Solution.
Great Question, I have experienced same myself while creating multiple API products. If you are using Drupal based Developer Portal & If, It's the only entry point for Developer Apps, I have a suggestion for you.
Agree with you, Option to have every single developer / app register for a minimum of two Apigee products (oauth2 and whatever api they are trying to access) is a great idea considering the way we associated oAuth proxy with products at this point of time.
You can hook into the Developer App save process & always have oAuth product associated with the app. Let user pick the remaining products that he would like to access. It needs little bit of customization which can be done quickly. Having the same as a configurable option (which products are auto associated) in the Developer Portal will be really awesome.
Hope it helps. Keep us posted if any.