Omniauth Edmodo
This is the OmniAuth strategy for authenticating to Edmodo. TO use it, you'll need to obtain an OAuth2 application key and secret from Edmodo.
Installation
Add this line to your application's Gemfile:
gem 'omniauth-edmodo'
And then execute:
$ bundle
Or install it yourself as:
$ gem install omniauth-edmodo
Basic Usage
use OmniAuth::Builder do
provider :edmodo, ENV['EDMODO_KEY'], ENV['EDMODO_SECRET'], scope: "basic,read_user_email"
end
Contributing
- Fork it ( https://github.com/[my-github-username]/omniauth-edmodo/fork )
- 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 a new Pull Request