lib/omniauth/strategies/wix.rb in omniauth-wix-0.1.1 vs lib/omniauth/strategies/wix.rb in omniauth-wix-0.1.2
- old
+ new
@@ -10,10 +10,10 @@
:token_url => 'https://www.wix.com/oauth/access.json'
}
option :provider_ignores_state, true
- uid { request.params["state"] }
+ uid { request.params["instanceId"] }
def client
::OAuth2::Client.new(options.client_id, options.client_secret, deep_symbolize(options.client_options)) do |b|
b.request :json
b.adapter Faraday.default_adapter