Saturday, 8 June 2019

CASDK-0004 : Failed to authenticate against the application with the credentials provided LOGIN_MUST_USE_SECURITY_TOKEN: Oracle Integration Cloud

We may encounter below issue while configuring the Salesforce Adapter in Oracle Integration Cloud

Unable to test connection "TEST_SFDC1". [Cause: CASDK-0004]
CASDK-0004 : Failed to authenticate against the application with the credentials provided
LOGIN_MUST_USE_SECURITY_TOKEN: Invalid username, password, security token; or user locked out. Are you at a new location? When accessing Salesforce--either via a desktop client or the API--from outside of your company’s trusted networks, you must add a security token to your password to log in. To get your new security token, log in to Salesforce. From your personal settings, enter Reset My Security Token in the Quick Find box, then select Reset My Security Token.


So to resolve this issue, we have to Reset the Security Token in Salesforce application and use this token with the password.

Let's see how to resolve this issue. First I'll show how to reset the security token via Salesforce
  • Login into the Salesforce application from here
  • Click on the View Profile from the top right corner and click the Setting button
  • Click on the Reset My Security Token navigation from the left panel and then Click on the Reset Security Token button

  • Once clicked on the Reset Security Token button a token will be sent to a configured email id
  • Now append the token with the actual SFDC password. For example, if SFDC password is Welcome@123 and Security Token is MjewewemisdweiwnEerer11wFiU65S, then make the combination of the password as below;
<SFDC_PASSWORD><TOKEN> as below

Welcome@123MjewewemisdweiwnEerer11wFiU65S

Now this password will be used to create SFDC connection

Let's go back into Integration cloud and configure the password as above
  • Click Configure Security button from the SFDC connection page and enter the password (as mentioned above)
  • Test the connection from the top right and see this time connection should be successful.


No comments:

Post a Comment