I start the "Automated checks for common errors " The check stuck keep loading no errors shown (3hours before posting this topic… and he keeps loading). check the picture bellow.
stuck exactly at: Immediately redirects to app UI after authentication
Any idea how to solve the issue.?
the same problem persist after about 24hrs
DMing you for more details on this @AbdelMark
I have solved the problem. Now all checks approuved.
The issue was in the redirect handling after installation though the auth callback route. I have added a redirection to the merchant store. I think this solved the problem.
auth.$.jsx file:
import { authenticate } from "../shopify.server";
export const loader = async ({ request }) => {
const {redirect, session} = await authenticate.admin(request);
let { shop } = session;
let shopName = shop.replace(".myshopify.com", "");
return redirect(`https://admin.shopify.com/store/${shopName}/apps/APP-HANDLE/app`);
};
Thanks for the @Liam-Shopify assistance