LaunchKey OAuth 2.0 strategy for OmniAuth 1.0. Read the LaunchKey OAuth docs for details.
Add this line to your application's Gemfile:
gem 'omniauth-launchkey'
And then execute:
$ bundle
Or install it yourself as:
$ gem install omniauth-launchkey
Read the OmniAuth docs for detailed
instructions. See example/
for an example of LaunchKey's OAuth flow
using Sinatra.
The OmniAuth strategy can be configured in an initializer
(e.g. config/initializers/omniauth.rb
):
Rails.application.config.middleware.use OmniAuth::Builder do
provider :launchkey, ENV['LAUNCHKEY_CLIENT_ID'], ENV['LAUNCHKEY_CLIENT_SECRET']
end
- 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