Auto-loggin from Shopify does not work the same way
Hello Antoine, hope you're doing well!
I don't know if you remember: we create a redirection at GET.js a year ago that allows to persist the session from Shopify Admin click on app to my external app.
It was a way for a user to link a Shop with its Customer environment, only by opening the app on his Shopify admin.
It worked for a year, but since a few weeks it does not work anymore. We also migrated to Shopify 2025-01
Do you have any idea what it can come from, maybe a change of root files like GET.js or App.jsx? shopify-or-install changes?
app: getsimio
env: all envs
Thank you!
5 Replies
Hello,
Could you please share more information about what you're seeing? Any errors, logs, etc that you could share with me?
When I click on the link, i see that a new session is created in the logs
And i see the login page
There is no signout at any time, it's a whole new session
often, the first sessio has the role "signed-in" and the second created via the link "Shopify App Users"
In the route, if you log
await session.get("shop")
whats returned?i have the shopId : 71969669393
I would need to have a lot more information in order to tell you what might be the issue. Are you relying on the signed-in role or the shopify app users role to determine if a user should be able to access data?
I would say that both should use the same Gelly filters (imo)