@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 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 = encodeURIComponent(redirectToUrl || ssoLoginUrl);
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 = encodeURIComponent(redirectToUrl || ssoLoginUrl);
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mu-cabin/opms-permission",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "description": "Frontend SDK for OPMS permission and auth management.",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",