The docs mention the terminology involving the consumer key and secret, but I have not come across anything that effects their original values when you do a sandbox refresh.

Long story short, one of our test servers cannot connected to our sandbox, even though I've verified that they have the correct consumer key, secret, and callback url.

  • 1
    Was the Connected App created in the sandbox?
    – sfdcfox
    May 30, 2018 at 0:08
  • did you checked the connected app request is reaching your sandbox ? it is available under Connected Apps OAuth Usage. If you have mydomain enabled issuer changes as well as if you are using any certificates. May 30, 2018 at 1:19
  • @sfdcfox it was created in Production.
    – Tyler Zika
    May 30, 2018 at 15:35

1 Answer 1


Yes, the consumer key and secret are changed when the sandbox is refreshed.

  • 1
    any idea why you are still able to use the client_id and client_secret that you had before the refreshing? I've just noticed that this is possible. Mar 5, 2020 at 12:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .