Dropbox integration
How do I enable Dropbox integration with omniauth using OAuth2?
I've registered an app with Dropbox and included the app key and secret in the credentials file under omniauth
I've registered an app with Dropbox and included the app key and secret in the credentials file under omniauth
omniauth: # Add other OmniAuth providers here dropbox_oauth2: # https://www.dropbox.com/developers/apps/ public_key: '<key>' private_key: '<secret>'
The doc says:
Users can sign up or login with connected accounts. We automatically add links based upon which Omniauth providers are enabled. By default, Jumpstart has options for a few Omniauth providers, but you're free to add other providers and they will be automatically added to parts of the UI.
Question: which UI gets updated with links to connect to Dropbox?
What additional steps do I need to take to enable this for a logged in user and start using the connected / authenticated token stored for the user to start interacting with Dropbox on behalf of the user?
Hey Harpal!
Since Dropbox isn't one we officially integrate with, you just need to:
1. Add your credentials
2. Add dropbox to config/devise.rb in the Omniauth section
3. Restart your app
The Dropbox links will show up in the sign up / sign in pages and on the connected accounts page just like with the other oauth providers.
Everything is setup so that accounts are saved the same way in the omniauth callbacks controller, so you don't have to do anything unless you want to make Dropbox work uniquely. It will handle login and saving the token by default.
Since Dropbox isn't one we officially integrate with, you just need to:
1. Add your credentials
2. Add dropbox to config/devise.rb in the Omniauth section
3. Restart your app
The Dropbox links will show up in the sign up / sign in pages and on the connected accounts page just like with the other oauth providers.
Everything is setup so that accounts are saved the same way in the omniauth callbacks controller, so you don't have to do anything unless you want to make Dropbox work uniquely. It will handle login and saving the token by default.
Notifications
You’re not receiving notifications from this thread.