OmniAuth 1.0 strategy for Planning de garde
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
Gemfile
LICENSE
README.md
Rakefile
omniauth-planningdegarde.gemspec

README.md

OmniAuth Planning de garde

This is an OmniAuth 1.0 strategy for authenticating to Planning de garde.

Usage

In the Gemfile:

gem 'omniauth-planningdegarde'

In a Rails application, put this in config/initializers/devise.rb:

config.omniauth :planningdegarde, ENV['PLANNING_DE_GARDE_APP_ID'], ENV['PLANNING_DE_GARDE_APP_SECRET']

and follow Devise's OmniAuth tutorial if it's your first OmniAuth's implementation.

Restart your server and visit /auth/planningdegarde and voila !

Authors

License

Copyright (c) 2015 Etienne Depaulis

This source code released under an MIT license.