You should use the redirect from the authentication
const { redirect } = await authenticate.admin(request);
return redirect(response, { target: "_parent" });
You should use the redirect from the authentication
const { redirect } = await authenticate.admin(request);
return redirect(response, { target: "_parent" });