0.0
The project is in a healthy, maintained state
OmniAuth strategy for Bolt
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Development

~> 1.0

Runtime

 Project Readme

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.