Sha256: 6ffb5ff85473a2cc8708c794a65050faf8a924240d428a526b2ce02c464eb563
Contents?: true
Size: 530 Bytes
Versions: 6
Compression:
Stored size: 530 Bytes
Contents
provider :spiffy, SpiffyStoresApp.configuration.api_key, SpiffyStoresApp.configuration.secret, scope: SpiffyStoresApp.configuration.scope, setup: lambda { |env| strategy = env['omniauth.strategy'] spiffy_auth_params = strategy.session['spiffy.omniauth_params']&.with_indifferent_access store = spiffy_auth_params.present? ? "https://#{spiffy_auth_params[:store]}" : '' strategy.options[:client_options][:site] = store }
Version data entries
6 entries across 6 versions & 1 rubygems