Sha256: ce0cc9f11643f90604d485b825c0a7b971af1b614e98efa1ee14decfaf993181

Contents?: true

Size: 360 Bytes

Versions: 1

Compression:

Stored size: 360 Bytes

Contents

module OmniAuth
  module Strategies
    class Heroku < OmniAuth::Strategies::HerokuOAuth2
      BaseAuthUrl = ENV["HEROKU_AUTH_URL"] || "https://id.heroku.com"

      option :client_options, {
        :site => BaseAuthUrl,
        :authorize_url => "#{BaseAuthUrl}/oauth/authorize",
        :token_url => "#{BaseAuthUrl}/oauth/token"
      }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
omniauth-heroku-0.1.2.pre lib/omniauth/strategies/heroku.rb