I need to know if the following process flow is possible. I have a feeling that it is, but can’t seem to put it together in Matrix.
- User opens a custom form and fills it in
- On submission, obtain access token from Salesforce, using oAuth2 (RESTful endpoint)
- Send form responses, in JSON format, back to a 2nd Salesforce RESTful endpoint, with access token in header to authenticate user.
Cannot use client-side at all, as the access token cannot be exposed.
Is the above possible, gurus out there?
TIA