You need to sign in to do that
Don't have an account?
Gabriel Baca
Access Salesforce REST API without authorization
Hello, is it possible to expose a salesforce api over http without requiring the user to first login? I have some salesforce data that I would like to expose to external customers through a salesforce REST api but I don't need them to create salesforce accounts to access this data by logging in first.
Right now all of the documentation that I have found requires the end user to login to generate an authorization token, which in my case and with the data I would like to expose is not needed and an extra burden on the end user.
Maybe I am looking at this all wrong but some help or guidance would be appreciated.
Thank you.
Right now all of the documentation that I have found requires the end user to login to generate an authorization token, which in my case and with the data I would like to expose is not needed and an extra burden on the end user.
Maybe I am looking at this all wrong but some help or guidance would be appreciated.
Thank you.
Essentially, develop a controller that gathers your data, and serialize it to json, and then build an unauthenticated force.com page that returns the json.
http://www.wadewegner.com/2013/03/creating-anonymous-rest-apis-with-salesforce-com/