From a29007287c7a089084cdfcb4b01beaad78c6dd74 Mon Sep 17 00:00:00 2001 From: doregg Date: Thu, 4 Jan 2024 12:29:11 +0200 Subject: [PATCH] pr --- packages/vue/src/auth/mapAuthState.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/vue/src/auth/mapAuthState.ts b/packages/vue/src/auth/mapAuthState.ts index 9a62201e..06346060 100644 --- a/packages/vue/src/auth/mapAuthState.ts +++ b/packages/vue/src/auth/mapAuthState.ts @@ -216,7 +216,6 @@ export const useFrontegg = () => { /** * Redirect to login page if the user is not authenticated * @param redirectUrl the url to redirect after hosted login - * @param isRequestHostedLoginAuthorizedV2 whether to use the 2nd version of hosted login authorized flow */ export const useFronteggAuthGuard = (options?: FronteggAuthGuardOptions) => { const { redirectUrl } = options ?? {} @@ -240,7 +239,6 @@ export const useFronteggAuthGuard = (options?: FronteggAuthGuardOptions) => { if (redirectUrl) { localStorage.setItem(FRONTEGG_AFTER_AUTH_REDIRECT_URL, redirectUrl); } - fronteggAuth.loginActions.requestHostedLoginAuthorize(); } else { router.push(authState.routes.loginUrl);