Skip to content

LoonyBin/clearance_omniauth

Repository files navigation

ClearanceOmniauth

This project rocks and uses MIT-LICENSE.

Install clearance files

rails g clearance:install

create authentications migration for omniauth

rake clearance_omniauth:install:migrations  # Copy migrations from clearance_omniauth to application

Install omniauth config file

rails g clearance_omniauth:install

Add the service keys of your choice to config/initializers/omniauth.rb

mount the engine at /auth; That’s where omniauth expects it to be add this to your routes

mount ClearanceOmniauth::Engine => "/auth"