Sha256: f7b3a1fd458c15410316f670be62126dd68aa5ba1b205a4ce2b626cc91735717
Contents?: true
Size: 466 Bytes
Versions: 3
Compression:
Stored size: 466 Bytes
Contents
Rails.application.config.middleware.use OmniAuth::Builder do provider :shopify, ShopifyApp.configuration.api_key, ShopifyApp.configuration.secret, :setup => lambda {|env| params = Rack::Utils.parse_query(env['QUERY_STRING']) site_url = "https://#{params['shop']}" env['omniauth.strategy'].options[:client_options][:site] = site_url } end
Version data entries
3 entries across 3 versions & 1 rubygems