strapi-plugin-oidc 1.9.5 → 1.9.6

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.
@@ -234,7 +234,7 @@ async function applyDiscovery(strapi2) {
234
234
  );
235
235
  return;
236
236
  }
237
- const updates = { OIDC_ISSUER: canonicalIssuer };
237
+ const updates = { OIDC_ISSUER: doc.issuer ?? canonicalIssuer };
238
238
  for (const [docField, configKey] of FIELD_MAP) {
239
239
  if (doc[docField]) {
240
240
  updates[configKey] = doc[docField];
@@ -228,7 +228,7 @@ async function applyDiscovery(strapi2) {
228
228
  );
229
229
  return;
230
230
  }
231
- const updates = { OIDC_ISSUER: canonicalIssuer };
231
+ const updates = { OIDC_ISSUER: doc.issuer ?? canonicalIssuer };
232
232
  for (const [docField, configKey] of FIELD_MAP) {
233
233
  if (doc[docField]) {
234
234
  updates[configKey] = doc[docField];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strapi-plugin-oidc",
3
- "version": "1.9.5",
3
+ "version": "1.9.6",
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",