OmniAuth Miil

This is the OmniAuth strategy for authenticating to Miil. However Miil does not provide Open OAuth Service and API :(

It was created for internal service.

Circle CI Code Climate

Installation

Add this line to your application's Gemfile:

gem 'omniauth-miil', github: 'https://github.com/xendoc/omniauth-miil'

And then execute:

$ bundle install

Usage

You can integrate the strategy into your middleware in a config.ru:

use OmniAuth::Builder do
  provider :miil, ENV['MIIL_CLIENT_ID'], ENV['MIIL_CLIENT_SECRET']
end

In a devise config/initializers/devise.rb:

config.omniauth :miil, ENV['MIIL_CLIENT_ID'], ENV['MIIL_CLIENT_SECRET']

License

OmniAuth Miil is available under the MIT license.