You need to sign in to do that
Don't have an account?
Angie Winterbottom
How to use REST API without a Salesforce user login
Hello,
I'm a beginner with Salesforce development, apologies for asking something that should be quite basic, but I just can't find this in the docs.
I build and maintain a website for an organisation. The organisation store their data in Salesforce (Classic).
What I'm trying to achieve is - I need the website to contact Salesforce at certain points to read and update data within Salesforce.
(Also, the website is written in C# ASP.NET, if that's relevant info)
So the model I need is - server to server communication, the website user needs to remain completely unaware of the presence of Salesforce.
Now, I was thinking - this should be achievable by using the REST API and client key / client secret... but the examples I've gone through either return a web page which requires the end user to log into Salesforce, or return JSON which just says "client identifier invalid".
Can someone please point me in the right direction? Thanks in advance!
I'm a beginner with Salesforce development, apologies for asking something that should be quite basic, but I just can't find this in the docs.
I build and maintain a website for an organisation. The organisation store their data in Salesforce (Classic).
What I'm trying to achieve is - I need the website to contact Salesforce at certain points to read and update data within Salesforce.
(Also, the website is written in C# ASP.NET, if that's relevant info)
So the model I need is - server to server communication, the website user needs to remain completely unaware of the presence of Salesforce.
Now, I was thinking - this should be achievable by using the REST API and client key / client secret... but the examples I've gone through either return a web page which requires the end user to log into Salesforce, or return JSON which just says "client identifier invalid".
Can someone please point me in the right direction? Thanks in advance!
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/quickstart_oauth.htm
http://www.mstsolutions.com/blog/content/testing-salesforce-web-service-using-postman-rest-client
https://enterpriseforcearchitect.com/2012/08/02/salesforce-com-apex-rest-oauth/
https://developer.salesforce.com/forums/?id=906F000000099zbIAA
https://developer.salesforce.com/blogs/tag/oauth
https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/quickstart_oauth.htm
http://www.mstsolutions.com/blog/content/testing-salesforce-web-service-using-postman-rest-client
https://enterpriseforcearchitect.com/2012/08/02/salesforce-com-apex-rest-oauth/
https://developer.salesforce.com/forums/?id=906F000000099zbIAA
https://developer.salesforce.com/blogs/tag/oauth
Hi @Angie,
Just replace data with your original password , username , customer id and Client id
for customer and client id you can go to creat->app then scroll down and create new connected app then see customer id and client id