I want to integrate my application with Salesforce. Some of my users have Salesforce accounts, and I want them to be able to sync their data in Salesforce with my system. I decided to use the REST API to tackle the integration. There are 2 possible scenarios for me:
-Username/Password flow. It is not what I would want. I get access to all their data and realistically none of my users would agree to give access to all their data.
-User Agent flow. I am planning on creating a Connected App, pack it, and redistribute it with my clients.
I would like to stick with the User Agent flow. Just wanted to ask if this was the way to go, since I am relatively new to Salesforce Integrations.
Thank you for all your help in advance!