strapi-plugin-oidc 1.10.4 → 1.10.5

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.
@@ -577,7 +577,7 @@ function resolveRedirectUri(config2) {
577
577
  "OIDC_PUBLIC_URL or PUBLIC_URL must be set in production. Provide your Strapi origin (e.g. https://myapp.com)."
578
578
  );
579
579
  }
580
- return `${publicUrl}${OIDC_CALLBACK_PATH}`;
580
+ return `${publicUrl.replace(/\/+$/, "")}${OIDC_CALLBACK_PATH}`;
581
581
  }
582
582
  const jwksCache = /* @__PURE__ */ new Map();
583
583
  let jwksDisabledWarned = false;
@@ -571,7 +571,7 @@ function resolveRedirectUri(config2) {
571
571
  "OIDC_PUBLIC_URL or PUBLIC_URL must be set in production. Provide your Strapi origin (e.g. https://myapp.com)."
572
572
  );
573
573
  }
574
- return `${publicUrl}${OIDC_CALLBACK_PATH}`;
574
+ return `${publicUrl.replace(/\/+$/, "")}${OIDC_CALLBACK_PATH}`;
575
575
  }
576
576
  const jwksCache = /* @__PURE__ */ new Map();
577
577
  let jwksDisabledWarned = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strapi-plugin-oidc",
3
- "version": "1.10.4",
3
+ "version": "1.10.5",
4
4
  "description": "A Strapi plugin that provides OpenID Connect (OIDC) authentication functionality for the Strapi Admin Panel.",
5
5
  "strapi": {
6
6
  "displayName": "OIDC Plugin",