OmniAuth Bolt

This gem contains the Bolt strategy for OmniAuth.

Before You Begin

You should have already installed OmniAuth into your app; if not, read the OmniAuth README to get started.

Link the Bolt documentation page

Using This Strategy

First start by adding this gem to your Gemfile:

gem 'omniauth-bolt'

If you need to use the latest HEAD version, you can do so with:

gem 'omniauth-bolt', :github => 'nebulab/ominauth-bolt'

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 :bolt, "API_KEY", "PUBLISHABLE_API"
end

Replace "API_KEY" and "PUBLISHABLE_KEY" with the appropriate values you obtained earlier.