In my salesforce project, I need to enable dropbox so that user can select the file from dropbox. Backend logic involves reading the file content and process it further.
I am using Dropbox chooser in form of JS component in my application. I am able to login and select the file but to get the file content through another API call, I need access token(not my app token). I am not able to fetch the response or not sure how to get the access token. In the URL, not even getting the authorization code when i use chooser.
As per the instructions provided in chooser, I can only get the files parameter in response. do i need to separately call the "/oauth2/authorize" and "/oauth2/token" and then call Dropbox.choose(options)?? or is there any way to get the access token from chooser JS component itself?