From f0d678aaa1e3e605513943c7fa24cb9f1eb57770 Mon Sep 17 00:00:00 2001 From: Andrei-Madalin-Vlad <92092189+Andrei-Madalin-Vlad@users.noreply.github.com> Date: Fri, 3 Mar 2023 18:38:30 +0200 Subject: [PATCH] fix: google auth route builder (#60) -changed expiresIn in domain store from google.admin to google.store --- packages/medusa-plugin-auth/src/auth-strategies/google/store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/medusa-plugin-auth/src/auth-strategies/google/store.ts b/packages/medusa-plugin-auth/src/auth-strategies/google/store.ts index bb3337a..6854634 100644 --- a/packages/medusa-plugin-auth/src/auth-strategies/google/store.ts +++ b/packages/medusa-plugin-auth/src/auth-strategies/google/store.ts @@ -61,6 +61,6 @@ export function getGoogleStoreAuthRouter(google: GoogleAuthOptions, configModule passportCallbackAuthenticateMiddlewareOptions: { failureRedirect: google.store.failureRedirect, }, - expiresIn: google.admin.expiresIn, + expiresIn: google.store.expiresIn, }); }