I need to authenticate users using their Salesforce credentials. For this, I created a Connected App in my developer org and implemented the Web Server Flow for authentication. I’ve provided the Client ID (Consumer Key) from the Connected App in my developer org, and users from that same org can successfully authenticate using their username and password.
However, when I try to authenticate users from a different Salesforce org , the authentication fails.
My goal is to allow users from any Salesforce org to authenticate using their credentials—without having to create a new Connected App or update the Client ID for each org.
Is there a way to configure this so any Salesforce user can authenticate themselves using their org's username and password—without needing to create a new Connected App or use a different Client ID for each org?
Note:
I do not want to change the Client ID for each user or ask them to set up their own Connected App.
Use Case: Similar to how apps like Data Loader or Data Loader.io
work—they can authenticate users from any Salesforce org without needing a Connected App for each one. How can I achieve the same?
#Trailhead #Authentication Token #Integration