You need to sign in to do that
Don't have an account?
rumit lumia
OAuth; log in into another system using Salesforce as an authenticator
Hello,
Can anyone please let me how to make Salesforce as an authenticator for my application?
Like trailhead/workbench/many other applications/dataloader gives option of "login through Salesforce", similarly I need a functionality where in my user can get logged into my application if he's a valid Salesforce user.
Br,
Rumit
Can anyone please let me how to make Salesforce as an authenticator for my application?
Like trailhead/workbench/many other applications/dataloader gives option of "login through Salesforce", similarly I need a functionality where in my user can get logged into my application if he's a valid Salesforce user.
Br,
Rumit
https://blog.jeffdouglas.com/2012/04/27/node-js-demo-with-force-com-rest-api-oauth-express/
https://rajvakati.com/2017/10/19/salesforce-username-and-password-oauth-flow/
Thanks for your response.
I saw both the links, but the question still persists.
In each of the links, the author has asked the end user/admin to create a connected app for the first time, while the applications like Workbench, Dataloader etc. create the connected app by themselves. And after creating the connected app, they use the client_secret, client_id of the on the fly created connected-app.
Secondly, the demo, by Jeff, shows wherein the user is entering the creds in Salesforce like screen, so I'm still not able to understand how to fetch creds and use in the code ( grant_type=password&client_id=3MVG9lKcPoNINVBIPJjdw1J9LLM82Hn
FVVX19KY1uA5mu0QqEWhqKpoW3svG3XHrXDiCQjK1mdgAvhCscA9GE&client_secret=
1955279925675241571&username=testuser%40salesforce.com&password=mypassword123456), like the one you mentioned.
Br,
Rumit