I'm using SF Restful API to develop an app. A generic use case of the app would be:
- User logs into the app (app specific credentials)
- User requests data available @ SF.
- App knows that user is allowed to access this data, so on behalf of user, app makes request to SF and retrieves data and displays to user.
This is different from what's instructed here under OAuth 2.0 Basics
:
https://help.salesforce.com/articleView?id=remoteaccess_authenticate_overview.htm&type=0
Instead, the flow implemented for my app looks something like:
I feel like I'm using this architecture only for a lack of better one for my use case. Am I unaware of a flow where this is achieved? I want a single token for my app so it can access data in SF cloud using RESTful API.
I hope I was able to explain myself clearly, if not, please ask and I will expand further.
Thanks :)