Sha256: 0a4d3ee6ab90317dcbae1d1034b0db4f804adfca3769ad6eb12a488a0ec33fd0

Contents?: true

Size: 360 Bytes

Versions: 9

Compression:

Stored size: 360 Bytes

Contents

  provider :shopify,
    ShopifyApp.configuration.api_key,
    ShopifyApp.configuration.secret,

    :scope => ShopifyApp.configuration.scope,

    :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
    }

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
shopify_app-6.1.1 lib/generators/shopify_app/install/templates/shopify_provider.rb
shopify_app-6.1.0 lib/generators/shopify_app/install/templates/shopify_provider.rb
shopify_app-6.0.6 lib/generators/shopify_app/install/templates/shopify_provider.rb
shopify_app-6.0.5 lib/generators/shopify_app/install/templates/shopify_provider.rb
shopify_app-6.0.4 lib/generators/shopify_app/install/templates/shopify_provider.rb
shopify_app-6.0.3 lib/generators/shopify_app/install/templates/shopify_provider.rb
shopify_app-6.0.2 lib/generators/shopify_app/install/templates/shopify_provider.rb
shopify_app-6.0.1 lib/generators/shopify_app/install/templates/shopify_provider.rb
shopify_app-6.0.0 lib/generators/shopify_app/install/templates/shopify_provider.rb