Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 512 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 512 Bytes

OmniAuth Ungc

This gem contains the Ungc strategy for OmniAuth

Using This Strategy

First start by adding this gem to your Gemfile:

gem 'omniauth-ungc'

Next, tell OmniAuth about this provider. For a Rails app, your config/initializers/omniauth.rb file should look like this:

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :ungc, "APP_ID", "APP_SECRET"
end

Replace "APP_ID" and "APP_SECRET" with the appropriate values you obtained from the Ungc.