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.
- package/dist/server/index.js +1 -1
- package/dist/server/index.mjs +1 -1
- package/package.json +1 -1
package/dist/server/index.js
CHANGED
|
@@ -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;
|
package/dist/server/index.mjs
CHANGED
|
@@ -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