How can we use Bearer token to connect using Web services connector in Sailpoint IIQ ? We need to ping an url to get the Bearer token

Which IIQ version are you inquiring about?

8.3

Please share any images or screenshots, if relevant.

**

Please share any other relevant files that may be required (for example, logs).

**

Share all details about your problem, including any error messages you may have received.

**

You say you need to make a call to a URL to get your bearer token? May be you can use a beforeOperationRule in your custom authentication call and get bearer token and use it for subsequent calls.

Hi @saiJ ,

If you have a token endpoint (URL for generating the access token), along with the Client ID and Client Secret, you can configure the Web Services connector to use OAuth as the Authentication Method. Provide the required OAuth details in the authentication configuration section.


Once the token is retrieved, if you need to pass the Bearer token manually to a specific HTTP operation (such as GET or POST), you can include it in the HTTP Headers section by adding: Authorization key

Hi @saiJ

You can create an operation Custom Authentication in your Webservices application. Put your configuration for getting token from token URL in this operation, something like this

You can configure response mapping like this -

Now this attribute at can be used in all other operations where you want this to be used. Whenever you do any operation like Create Account, Account aggregation etc, IIQ calls this API automatically to retrieve access token and stores in attribute application.at. You can refer this configuration as example-

Hope this solves your query, Thanks!

Thank you. I was able to use the Custom Authentication.

Thanks for your Response. I have tried this approach but it was throwing an error. I am using Custom Authentication approach.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.