Salesforce Connector Test Connection Error Using OAuth2

Which IIQ version are you inquiring about?

Version 8.2

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

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

Hi All,

I am trying to onboard Salesforce Connector. Test Connection is getting successful with basic authentication, but we are getting below error while using OAuth2. When I use Postman to authenticate using OAuth2 it works just fine and same credentials are not working on IIQ.

Error: [ InvalidConfigurationException ] [ Possible suggestions ] Verify that Username and Password are correct. [ Error details ] Failed to generate access token for invalid Username and Password.

Can anyone help regarding this ?

Thank you,
Dipanjan

Hi Dipanjan,
Welcome to our community. Did you consider using refresh token instead of password? Refresh token is a bit more secure and I have personally implemented it in my all Salesforce integrations so far and worked well.

But going back to your question - did you provided only password or password with concatenated security token?

1 Like

Hi Kamil,

Thanks for your response!
We are providing password in following format: Password+Security token as mentioned in Sailpoint doc and it is working fine in Postman ,we are getting access token in response from Postman,but it is not working in Sailpoint, it is throwing the mentioned error.

1 Like

Got it. Did you set also OAuth2TokenUrl attribute in the XML of the application?
Can you also paste this value here together with the URL attribute and serverUrl values?

1 Like

Thanks, test connection is successful now after setting “OAuth2TokenURL” in application xml.

1 Like

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