Web service connector - establishing connection with the URL through rule

Hi,

In one of the webservice connector application, we are using grant type as Refresh token.
Currently we are using the below Approach for generating the refresh token.

1.placing All the Constants which are used for generating token in custom file.
2.using a rule for generating the refresh token.
3.Creating a task and scheduling it.

In rule , we are using the below method(http) to establish connection with specified URL(i.e.token generation url).

method:
HttpURLConnection conn = (HttpURLConnection)url.openConnection();

Is there any other different approach for establishing a connection using connector object and generating the token?
Can anyone help, regarding the issue.

Thanks,
Akash

  • Go to IdentityIQ → Applications → Your Web Service Connector Application.
  • In the authentication method, select OAuth 2.0.
  • Provide the required OAuth details:
  • Client ID
  • Client Secret
  • Authorization URL
  • Token URL
  • Refresh Token URL
  • Enable Auto-Refresh Token Handling so that IIQ manages token renewal automatically.strong text

Hi @Chaithu9110 ,

Thanks for the reply.

Can you please provide any steps/suggestion , regarding how to enable Auto-Refresh Token Handling and in which IIQ version is available ?

The issue is , After committing the Code into the Git, every time when the changes are done in the git the existing refresh token of the application is updating and the test connection is getting failed.

Thanks,
Akash

the version is 8 and above

  • In the Web Services Connector Configuration, look for “Refresh Token Handling” settings.
  • Enable the “Automatically Refresh Token” option.
  • Specify refresh token lifespan if required by the application.

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