@vario-software/vario-app-framework-backend 2026.9.0 → 2026.9.2
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/app.js +5 -3
- package/package.json +1 -1
- package/utils/token.js +1 -1
package/app.js
CHANGED
|
@@ -120,11 +120,13 @@ function validateClient(client)
|
|
|
120
120
|
throw new Error(`client config is missing: ${missingProps.join()}`);
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
|
|
123
|
+
if (typeof client.appJWK === 'string')
|
|
124
124
|
{
|
|
125
|
-
JSON.parse(client.appJWK);
|
|
125
|
+
try { client.appJWK = JSON.parse(client.appJWK); }
|
|
126
|
+
catch { /* handled below */ }
|
|
126
127
|
}
|
|
127
|
-
|
|
128
|
+
|
|
129
|
+
if (typeof client.appJWK !== 'object' || client.appJWK === null)
|
|
128
130
|
{
|
|
129
131
|
throw new Error('appJWK is not a valid JSON');
|
|
130
132
|
}
|
package/package.json
CHANGED