Closed jagthedrummer closed 1 month ago
Hey, thanks for raising this. I'll add it to our tracking, and we'll look into it!
Is there any update on this issue @paulomarg?
No updates yet, but this is high in our current list of priorities!
any workaround to fix this issue? I keep getting stuck in an infinite loop whenever I try to install the app.
Hey folks, I'm investigating this but I haven't been able to reproduce it. I created an app from scratch, and the token was valid when I tried to login (/api/auth
in the latest template, but it also calls ShopifyApp::SessionsController#create
). If I change the token in the client, it fails, so it looks like the check itself is OK there.
Worth pointing out that this is just a regular Rails form with a regular csrf_meta_tags
in the layout, so the token itself should be valid.
Judging from the logs, it looks like the token is present in the POST request, so it might be getting the wrong token somehow. Could you please:
GET
request that loads the form?I've seen reports online that setting this in the application config might help (not a final solution, but may guide the fix):
config.action_dispatch.default_headers.merge!('Cache-Control' => 'no-store, no-cache')
Hope this helps!
We are closing this issue because we did not hear back regarding additional details we needed to resolve this issue. If the issue persists and you are able to provide the missing clarification we need, feel free to respond and reopen this issue.
We appreciate your understanding as we try to manage our number of open issues.
Issue summary
Before opening this issue, I have:
shopify_app
version: 22.2.1 (Also happens in 21.10.0)log_level: :debug
in my configuration, if applicableI'm trying to test my app in a test shop, but when I installed it an error is raised saying:
Expected behavior
The app should be installed in the test shop.
Actual behavior
An error is raised.
Steps to reproduce the problem
/login
route of the app.my-test-app.myshopify.com
Debug logs
Seems like this might be the same issue raised in https://github.com/Shopify/shopify_app/issues/1286 which was automatically closed by the developer-hostile bot without anyone from Shopify ever looking at it.