gemfile configuration: controller, model, initializer registration needed? confirmable?
TODO: Write a gem description
Add this line to your application's Gemfile:
gem "omniauth-backme", git: "git@github.com:BackerFounder/omniauth-backme.git"
And then execute:
$ bundle
# config/initializers/devise.rb
Devise.setup do |config|
config.omniauth :backme, Rails.application.secrets.backme_key, Rails.application.secrets.backme_secret
end
or
# config/initializers/devise.rb
Devise.setup do |config|
config.omniauth :backme, ENV["BACKME_KEY"], ENV["BACKME_SECRET"]
end
# app/models/user.rb
omniauth_providers: [:facebook, :google_oauth2, :weibo, :backme]
TODO: Write usage instructions here
- Fork it ( https://github.com/[my-github-username]/omniauth-backme/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request