• Resolved shimzan

    (@shimzan)


    Hi there, I still cannot authorize the connection with SF. It states error=invalid_client_id&error_description=client%20identifier%20invalid and has been a couple days now. Any suggestions on how to fix this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jonathan Stegall

    (@jonathanstegall)

    Usually this is because one or more of the fields has an incorrect value. Salesforce doesn’t tell which field it is, but that’s usually the issue.

    Thread Starter shimzan

    (@shimzan)

    Hi there, I haven’t even created any fields yet. I am still trying to initiate the connection.

    Plugin Author Jonathan Stegall

    (@jonathanstegall)

    I should’ve been more specific about which fields I meant. To initiate the connection, you have to set the values for consumer key, consumer secret, callback URL, login URL, etc. and if any of those values are incorrect, Salesforce will return that error. There’s more info about this in the documentation.

    Thread Starter shimzan

    (@shimzan)

    I understand. So if my salesforce is a whitelabel and has its own login URL, do I use the default or the custom one?
    How long will it take to show if It is correct?

    Plugin Author Jonathan Stegall

    (@jonathanstegall)

    In the experience I’ve had, users should almost always use https://login.salesforce.com if it is a production instance, and https://test.salesforce.com if it is a sandbox. This does still apply if you are redirected to something like https://something.my.salesforce.com once you are logged in.

    I don’t personally have experience using other URLs for this; you might want to talk to Salesforce about how to authenticate with the REST API if login.salesforce.com does not work (assuming it’s a production instance).

    As for how long it takes, it depends on if you have changed anything on your app in Salesforce. App changes in Salesforce (for example, getting a new consumer key) usually update in less than half an hour in my experience. If you haven’t changed anything in Salesforce but you have changed a setting in WordPress, there shouldn’t be a delay.

    Thread Starter shimzan

    (@shimzan)

    Thanks for all the help

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Error’ is closed to new replies.