lib/omniauth/strategies/stripe_connect.rb in omniauth-stripe-connect-2.0.1 vs lib/omniauth/strategies/stripe_connect.rb in omniauth-stripe-connect-2.1.0

- old
+ new

@@ -7,11 +7,11 @@ option :client_options, { :site => 'https://connect.stripe.com' } - option :authorize_options, [:scope] + option :authorize_options, [:scope, :stripe_landing] uid { raw_info[:stripe_user_id] } info do { @@ -27,9 +27,13 @@ } end def raw_info @raw_info ||= deep_symbolize(access_token.params) + end + + def request_phase + redirect client.auth_code.authorize_url({:redirect_uri => callback_url}.merge(authorize_params.merge(request.params))) end def build_access_token headers = { :headers => {