You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently developing a new app using Shopify Polaris ( Rails SPA ).
Along the way, I encountered this issue
Here's my Shopify config
ShopifyApp.configure do |config|
config.application_name = "My App"
config.api_key = ENV['SHOPIFY_API_KEY']
config.secret = ENV['SHOPIFY_API_SECRET']
config.old_secret = ""
config.scope = "read_products" # Consult this page for more scope options:
# https://help.shopify.com/en/api/getting-started/authentication/oauth/scopes
config.embedded_app = true
config.after_authenticate_job = false
config.api_version = "2020-01"
config.session_repository = Shop
end
I'm not sure what causes this issue. I've researched regarding the issue and it suggested to use gem 'activerecord-session_store'. I haven't tried this and hesitant to use it as I prefer to not use another gem.
Is this the only solution? and may I know what's the cause of this?
The text was updated successfully, but these errors were encountered:
I think using activerecord-session_store gem and replacing the session_store Rails.application.config.session_store from cookie_store to active_record_store
Hi here,
Currently developing a new app using Shopify Polaris ( Rails SPA ).
Along the way, I encountered this issue
Here's my Shopify config
I'm not sure what causes this issue. I've researched regarding the issue and it suggested to use gem 'activerecord-session_store'. I haven't tried this and hesitant to use it as I prefer to not use another gem.
Is this the only solution? and may I know what's the cause of this?
The text was updated successfully, but these errors were encountered: