authentication in application (Remix)

Topic summary

A developer is experiencing an authentication issue with a Shopify Remix app template.

When entering a shop domain on the login route (auth.login/route.tsx), the app redirects to the auth callback route (auth.$.tsx).

At this point, the authentication flow breaks:

  • A log message appears showing a redirect to the Shopify OAuth install URL
  • The frame stops working/responding after this redirect

The developer is seeking guidance on what configuration or code changes are needed in the auth.$.tsx file to resolve this authentication flow interruption. The issue appears to occur during the OAuth installation process, preventing successful app authentication.

Summarized with AI on November 2. AI used: claude-sonnet-4-5-20250929.

When I enter the Shop domain on this page
https://github.com/Shopify/shopify-app-template-remix/blob/main/app/routes/auth.login/route.tsx
I am thrown to the page
https://github.com/Shopify/shopify-app-template-remix/blob/main/app/routes/auth.%24.tsx

after which the following log occurs and the frame stops working.
What needs to be done in auth.$.tsx

17:03:37 │                     remix │ [shopify-app/INFO] Redirecting login request to
https://admin.shopify.com/store/store-kl-lab-2000/oauth/install?client_id=11d60ca5bcbb6966745066a9834760a3 | {shop:
store-kl-lab-2000.myshopify.com}