Interacting with a secured Add-ons Service using HTTP requests and API calls
If you want to interact with the Add-ons Service, such as to retrieve Add-ons from code, and if your Add-ons Service has been set up to require authentication through Access Management, you need to perform a sequence of HTTP requests and API calls to retrieve the Add-ons.
About this task
The following diagram illustrates the sequence of HTTP requests and API calls to retrieve Add-ons from a secured Add-ons Service:
Procedure
- Make an HTTP POST request from your Add-ons Service client to your IdP to retrieve a valid access token. Refer to your IdP documentation to learn exactly what the request should look like.
- Include the access token you receive in any interaction you make with the Add-ons Service, for example, to retrieve Add-ons.