@mu-cabin/opms-permission 0.8.2 → 0.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
@@ -550,7 +550,7 @@ function jumpToSSOLogout({
|
|
550
550
|
}
|
551
551
|
const { location } = window;
|
552
552
|
const ssoLoginUrl = `${baseUrl}/idp/oauth2/authorize?client_id=${clientId}&response_type=code&redirect_uri=${location.origin}/`;
|
553
|
-
const redirectUrl =
|
553
|
+
const redirectUrl = redirectToUrl || ssoLoginUrl;
|
554
554
|
const logoutUrl = new URL(`${baseUrl}/idp/profile/OAUTH2/Redirect/GLO`);
|
555
555
|
logoutUrl.searchParams.set("response_type", "code");
|
556
556
|
logoutUrl.searchParams.set("entityId", clientId);
|
package/dist/index.mjs
CHANGED
@@ -512,7 +512,7 @@ function jumpToSSOLogout({
|
|
512
512
|
}
|
513
513
|
const { location } = window;
|
514
514
|
const ssoLoginUrl = `${baseUrl}/idp/oauth2/authorize?client_id=${clientId}&response_type=code&redirect_uri=${location.origin}/`;
|
515
|
-
const redirectUrl =
|
515
|
+
const redirectUrl = redirectToUrl || ssoLoginUrl;
|
516
516
|
const logoutUrl = new URL(`${baseUrl}/idp/profile/OAUTH2/Redirect/GLO`);
|
517
517
|
logoutUrl.searchParams.set("response_type", "code");
|
518
518
|
logoutUrl.searchParams.set("entityId", clientId);
|