https://github.com/johnvuko/omniauth-dropbox-oauth2
Dropbox OAuth2 strategy for OmniAuth
https://github.com/johnvuko/omniauth-dropbox-oauth2
Last synced: 8 months ago
JSON representation
Dropbox OAuth2 strategy for OmniAuth
- Host: GitHub
- URL: https://github.com/johnvuko/omniauth-dropbox-oauth2
- Owner: johnvuko
- Created: 2013-09-08T08:57:05.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-09-09T05:10:53.000Z (almost 13 years ago)
- Last Synced: 2025-01-11T14:15:53.265Z (over 1 year ago)
- Language: Ruby
- Size: 133 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
OmniAuth Dropbox
================
Usage
-----
Add the strategy to your `Gemfile` alongside OmniAuth:
```ruby
gem 'omniauth-dropbox-oauth2', :git => 'git://github.com/jonathantribouharet/omniauth-dropbox-oauth2.git'
```
Then integrate the strategy into your middleware:
```ruby
use OmniAuth::Builder do
provider :dropbox_oauth2, ENV['DROPBOX_KEY'], ENV['DROPBOX_SECRET']
end
```
In Rails, you'll want to add to the middleware stack:
```ruby
Rails.application.config.middleware.use OmniAuth::Builder do
provider :dropbox_oauth2, ENV['DROPBOX_KEY'], ENV['DROPBOX_SECRET']
end
```