Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookie expiration and re-auth dead end. #1883

Open
mkromann opened this issue Dec 18, 2024 · 1 comment
Open

Cookie expiration and re-auth dead end. #1883

mkromann opened this issue Dec 18, 2024 · 1 comment

Comments

@mkromann
Copy link

Overview/summary

We have multiple custom non-embedded apps. We are often struggling to keep devices logged in and feel we have to excessively re-auth. The auth cookie expires on session end. Another issue, is that we often find ourselves in auth dead-ends, and the user have to navigate through the Shopify interface to re-auth, as the device have no idea which shop the app belongs to. I feel like this is inconsistent for us, as I think you save shop in a cookie as well and make a redirect? However, for some devices this does not seem to work as expected?

Scenarios:
We have a dashboard app that is hung on the wall in our stores. These devices are automatically put in sleep mode depending on time of day, vacations, etc. When they wake up, they are programmed to show the dashboard again. However, at this point the device will have to re-auth as the auth-session ended when the device slept.

We are using the remix template but I believe this is the correct place for this issue? I am not really comfortable in auth, so just reporting the issues we face.

@lizkenyon
Copy link
Contributor

Hi there 👋

Thank you for the flag. Will bring this to the team to review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants