Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I have a storefront in Shopify, and one of the tabs is a nextjs app which is hosted with app proxy. I have everything working, and I am trying to support users who are unauthenticated with Shopify.
I can detect if they are not authenticated and show a notification with a "Click here to login" link. The problem is, it always takes them to the orders page after the login, not back to the route they were on when I initiated the flow. I have tried a number of solutions but nothing is working including. Below is the loginUrl I am using in my <a> tag as the href. The behavior described happens after the user clicks on the anchor.
1.)
I figured it out:
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025