I'm writing a python application which shows some metrics about an organization. However, I'm running into two problems:
- There are no service accounts - I need to fetch information from Salesforce without acting as a specific user. With Google API there is the concept of a
service account
which has access to any resource + can be delegate any identity. - OAuth authentication flow requires user redirection - I run my app on an EC2 container and all the fetching are done in the background, I can't have users having to sign-in using their Salesforce account any time they access the service. I would like to have a token of an administrator/service account in another way besides the redirection method. I came across this question & answer but I couldn't figure out how to use it in my application.