How to use single sign on for dropbox?

dropbox, javascript, oauth, single-sign-on

Solution

The Dropbox API's oauth/authorize method does not provide a way for users to skip the allow/deny with previously authorized applications.

Problem

I am connecting my JavaScript app to my dropbox to upload / download files. As part of oauth process, I have to redirect the user to dropbox API page that presents a permission Allow / Deny dialog. Is there any way to get this dialog skipped? I believe this could be possible via SSO but don't know how I can achieve it for dropbox. Can anyone please guide me on this?

Original source