lib/exvo_auth/strategies/non_interactive.rb in exvo-auth-0.5.0 vs lib/exvo_auth/strategies/non_interactive.rb in exvo-auth-0.5.1
- old
+ new
@@ -2,10 +2,14 @@
def initialize(app, options = {})
super(app, :non_interactive, options)
end
def request_phase(options = {})
- redirect @client.non_interactive.authorize_url(:redirect_uri => callback_url, :scope => request["scope"], :state => request["state"])
+ redirect @client.non_interactive.authorize_url(unicorns_and_rainbows(
+ :redirect_uri => callback_url,
+ :scope => request["scope"],
+ :state => request["state"]
+ ))
end
def callback_url
key = ExvoAuth::Config.callback_key
value = request[key]