If I want my application to process jobs and send API REST requests to my APEX endpoints, which OAuth2 authorization/grant method should I use?
- If I use authorization_code, then the browser needs to redirect (to Salesforce login page) and the user needs to confirm access. (This would be wrong right?).
I think that I would want to use grant_type
: password
If I use password, then I can just set my organizations administration username and password in my application and use that.
I plan on batching up some requests and sending through gearman as a background process.