From fe47ca1152918c954b065e369632e6930afa1ecf Mon Sep 17 00:00:00 2001 From: Yury Date: Mon, 19 Feb 2024 08:50:19 +0300 Subject: [PATCH] fix(auth-manager): fixed redirectedLoginUrl --- src/auth/AuthManager.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/auth/AuthManager.ts b/src/auth/AuthManager.ts index ea9b9ba..0aa3b63 100644 --- a/src/auth/AuthManager.ts +++ b/src/auth/AuthManager.ts @@ -14,6 +14,7 @@ export class AuthManager { private loginUrl: string private logoutUrl: string private redirectedLoginUrl = `/SASLogon` //SAS 9 M8 no longer redirects from `/SASLogon/home` to the login page. `/SASLogon` seems to be stable enough across SAS versions + constructor( private serverUrl: string, private serverType: ServerType, @@ -27,6 +28,8 @@ export class AuthManager { : this.serverType === ServerType.SasViya ? '/SASLogon/logout.do?' : '/SASLogon/logout' + + this.redirectedLoginUrl = this.serverUrl + this.redirectedLoginUrl } /**