I have created connected app in salesforce dev enviorment(https://login.salesforce.com) and given Selected OAuth Scopes full access. Connection type is Oauth Username password in this passing the correct consumer key, consumer secret, username and password. when click on test button its throwing error message

Test Connection: Failed establishing connection with salesforce

Please see the image what i am doing wrong.

enter image description here

  • 1
    Your token endpoint is incorrect. It should be https://login.salesforce.com/services/oauth2/token. Also make sure to provide security token if you have one while authenticating. – Jayant Das Dec 28 '18 at 5:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.