This gem provides a dead simple way to authenticate to Box using OAuth2.
Add this line to your application's Gemfile:
gem 'omniauth-box', git: "https://github.com/youpdidou/omniauth-box.git"
First, you will need to register an application with Box and obtain an API key. Once you do that, you can use it like so:
use OmniAuth::Builder do
provider :box, 'yourapikey', 'yourapisecret'
end
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request