An Omniauth strategy for Vimeo
Add this line to your application's Gemfile:
gem 'omniauth-vimeo-oauth2'
And then execute:
$ bundle
Or install it yourself as:
$ gem install omniauth-vimeo-oauth2
Rails.application.config.middleware.use OmniAuth::Builder do
provider :vimeo2, VIMEO_CREDENTIALS['client_id'], VIMEO_CREDENTIALS['client_secret'],
scope: 'public private'
end
- public View public videos
- private View private videos
- create Create new videos, groups, albums, etc.
- edit Edit videos, groups, albums, etc.
- delete Delete videos, groups, albums, etc.
- interact Interact with a video on behalf of a user, such as liking a video or adding it to your watch later queue
- upload Upload a video
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request