Reputation: 3130
I have my app correctly set up to associate a Dropbox Oauth login with a user (via Devise/Omniauth). The folder under Dropbox/Apps/myapp
is correctly made.
I've saved (and encrypted) the user's access token & access secret in the database - how do I use OmniAuth to authenticate using these values instead of them going through the full Dropbox OAuth cycle? Every time I log in using Dropbox it is asking me over and over if I'd like to allow the app access to my Dropbox folder.
I have set up the OmniAuth callbacks pretty much just as they are in the wiki. It searches for the provider & uid, and finds the user that way. Is this something different with how Dropbox works vs. Twitter or Facebook? They only ask me once to associate the Twitter/FB account with myapp
.
Upvotes: 3
Views: 534
Reputation: 1102
hmm,hi, if u tried to connect every users with your dropbox, then it will ask the permission to access your folder. Basically ,it is just same like facebook App which if you need to access the app, you wil get some request permission. What you need to do maybe is your web application get the access to the dropbox folder for the first time and your users are using it with the privilege you assign for them. Hope it helps..
Upvotes: 1