Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (17 sloc) 0.546 kB
APP_ENV = 'production'
require './app/bootstrap'
require './config/api_credentials'
require 'omniauth'
require 'omniauth-google-oauth2'
use Rack::Session::Cookie
use OmniAuth::Builder do
scope = 'https://www.googleapis.com/auth/userinfo.email '\
'https://www.googleapis.com/auth/userinfo.profile'
provider :google_oauth2,
DeckApp::GAPI_CLIENT_ID,
DeckApp::GAPI_CLIENT_SECRET,
{ :scope => scope,
:access => 'offline',
:approval_prompt => '' }
end
run DeckApp::App.new
Jump to Line
Something went wrong with that request. Please try again.