Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 599 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 599 Bytes

omniauth-snapchat

An OmniAuth strategy for authenticating with Snapchat Snap Kit.

Installation

In your Gemfile:

gem 'omniauth-snapchat'

Usage

Here's an example on setting up omniauth-snapchat (NOTE: this should be placed in something like config/initializers/omniauth.rb:

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :snapchat, ENV['SNAPCHAT_CLIENT_ID'], ENV['SNAPCHAT_CLIENT_SECRET']
end

Helpful Links