function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tammy CookTammy Cook 

OAuth Invalid Client ID

We have been doing work to connect our drupal website with salesforce and have connected 3 other Connected Apps for localhost, Develop, and Staging environments. Develop and Staging are both on Pantheon hosting.  All were available to connect within a few minutes of setting up and authenticated fine. Today we were deploying to production environment and we setup the production Connected App in salesforce, but we are not authenticating here for some reason. It is also hosted on Pantheon and has the same codebase as all the other environments.  The setup at salesforce for all the apps are exactly the same except for the oauth callback url and name of app.  It is labeled 'Production_API_Connection'.  Any ideas on what is going on? 

Error:
error=invalid_client_id&error_description=client%20identifier%20invalid
VaasuVaasu
Error says invalid client id, probably client ID you are passsing to prod instance is not correct.Check connected app in production to verify client ID. And also endpoint should be 'login.salesforce.com' not 'test.salesforce.com'