Sha256: d4e505ad0b65ad355cbcecd0a4d9611f0375ce926b0c329da20f31d8423573cc
Contents?: true
Size: 1.01 KB
Versions: 14
Compression:
Stored size: 1.01 KB
Contents
= Authentifyd Devise + Omniauth Authentication encapsulated in an Engine. Uses Devise. Parts taken from perens-instant-user and sso-devise-omniauth-provider. == Installation * gem 'authentifyd' * rake authentifyd:install:migrations * rake db:migrate * in config/routes.rb add: mount Authentifyd::Engine => "/#{your root for authentifyd}" * NB: don't mount Engine on root "/". This could be a feature added in the future but for the moment this possibility is not implemented. * Configure Devise: copy paste http://raw.github.com/plataformatec/devise/master/lib/generators/templates/devise.rb in config/initializers/devise.rb. Edit it. * NB: set "config.pepper". ex: require 'securerandom' -> SecureRandom.hex(64) * Add Facebook and Twitter config files * Example staging: app_id: APP ID FOR STAGING ENV app_secret: APP SECRET FOR STAGING ENV development: &development app_id: APP ID FOR DEV ENV app_secret: APP SECRET FOR DEV ENV test: <<: *development
Version data entries
14 entries across 14 versions & 1 rubygems