0

We have to design an application and retrieve data from salesforce. Therefore, I have to authenticate my web app to Salesforce to make API calls.

As I read in the documentation, I need to define our app as an connected app in our Salesforce account. Unfortunately, this function is blocked / disabled for security reason. Therefore I have to search another way to authenticate my app.

On services like mailchimp or segment.io, I can give access for these services to salesforce with my username and password (RemoteAccessAuthorizationPage) without define the app as a 'Connected App.

Is it possible to achieve the same with our webapp and connect trough username and password without to have to define the app as a connected app?

Thanks for your support!

2

You can use the SOAP API's login to authenticate, and then use that session ID as a REST token like normal.

0

Just create a free Developer Edition org and create the connected app from there. Salesforces requires you to register your web application before it issues you an API key but it doesn't have to be from your company's production org.

  • Thank you, I got it... Just one question: For authentication, I need the user security token, additionally to the user username and password. Why do I didn't need this by authentication with mailchimp? – Miro Mar 20 '18 at 22:44
  • Just an added layer of security that Salesforce provides. If the IP Address of the user is whitelisted, then a security token wouldn't be required. If you plan to use OAuth2 or WebServer authentication, then your users could login into your web app the same way they log into Salesforce (without needing a security token) – Matthew Mitchener Mar 20 '18 at 22:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.