@punch-in/strapi-admin 1.2.8 → 1.2.9

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.
@@ -239,6 +239,14 @@ module.exports = {
239
239
  // time compare). Read-only: an unmatched or inactive email is rejected,
240
240
  // never used to create or activate an admin account.
241
241
  async ssoVerify(ctx) {
242
+ // TEMPORARY diagnostic - ssoVerify is returning a bare 403 "Forbidden"
243
+ // (matching isAuthenticatedAdmin's unmessaged strapi.errors.forbidden())
244
+ // in production on every tenant tested, even with a correct X-Sync-Secret,
245
+ // despite this route's routes.json entry having no policies that could
246
+ // produce that. This line proves whether the request even reaches this
247
+ // controller at all - remove once root-caused.
248
+ console.log('[ssoVerify] reached controller, headers:', JSON.stringify(ctx.request.header));
249
+
242
250
  const expected = process.env.SYNC_SECRET;
243
251
  if (!expected) {
244
252
  return ctx.internalServerError('SYNC_SECRET is not configured on this Strapi instance');
package/package.json CHANGED
@@ -139,5 +139,5 @@
139
139
  "develop:ce": "STRAPI_DISABLE_EE=true webpack-dev-server --config webpack.config.dev.js",
140
140
  "test": "echo \"no tests yet\""
141
141
  },
142
- "version": "1.2.8"
142
+ "version": "1.2.9"
143
143
  }