I would like to allow end-users that do not have access to Salesforce directly to be able to make orders (a custom object) by submitting a form from a web page.
I would have thought making a simple request to the REST API would allow me to achieve this. Authentication, however, is proving to be a little tricky in this case since we are dealing with non-Salesforce end-users .
I saw that this question is asking something similar but I think in this case one would still have to log in at least once which would not work since the end-user will not be able to with no credentials.
I am following the instructions for authenticating the REST API on this link (https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_understanding_web_server_oauth_flow.htm) and trying it for a Sandbox Environment.
My question is - I was wondering if it would be possible to get the authorization code and automate the login step instead of having to manually login every time?
This way, the end-users would not be faced with the login page and the authentication happens automatically.
In short, I would like to know if step 2 from the attached link can be automated or skipped.