omniauth.rb |
|
---|---|
Rails.configuration.DAILYCRED_CLIENT_ID = "<%= client_id %>"
Rails.configuration.DAILYCRED_SECRET_KEY = "<%= secret_key %>" |
|
configure where users should be redirected after authentication Rails.configuration.DAILYCREDOPTIONS = { :afterauth => ‘/hello’, #after login :after_unauth => ‘/goodbye’ #after logout } |
|