lib/omniauth/strategies/bunq.rb in omniauth-bunq-0.1.3 vs lib/omniauth/strategies/bunq.rb in omniauth-bunq-0.1.4
- old
+ new
@@ -21,9 +21,15 @@
end
end
end
end
+ def token_params
+ super.tap do |params|
+ params[:grant_type] = "authorization_code"
+ end
+ end
+
uid do
puts options
request.params[options.uid_field.to_s]
end