I'm going to develop an applcation for Dropbox for Business team. E.g. this will be a desktop application that searching content across all accounts in organization.
And I slightly confused about OAuth section parameters when creating the application.
As far as I understood, I have two options:
1. Get Access Token progammatically via "Redirect URI" when first app starting
2. Get Access Token by clicking "Generate" button (in dev console when app creating)
Eventually, I need to securelly store this Access Token and use it to connect to Dropbox team and team members.
What is options preferrable and more secure in my case (1 or 2) ? Please advise.