Im writing an app with nestjs and Im using nestjs-shopify librray the point Im having the problem is when the user wait for some times and click on install i face with the error of Could not find an OAuth cookie for shop url {Name of store} and it will not installs but when the user click on install immediately it works correctly. is there any way to expand the expiration time so users have more times to click on install button?
as a setting im passing this data to shopify auth
export const authSetting = (
basePath: string,
): ShopifyAuthModuleAsyncOptions => ({
useFactory: (afterAuthHandler: AppShopifyAuthHandler) => ({
useGlobalPrefix: true,
basePath,
afterAuthHandler,
}),
imports: [AppShopifyAuthModule],
inject: [AppShopifyAuthHandler],
});