lucid-package 0.0.41 → 0.0.42
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/package.json
CHANGED
package/src/packagemanifest.d.ts
CHANGED
package/src/packagemanifest.js
CHANGED
|
@@ -119,6 +119,9 @@ function validateManifestOrThrow(manifest) {
|
|
|
119
119
|
if (provider['grantType'] === 'clientCredentials' && provider['authorizationUrl']) {
|
|
120
120
|
throw new Error('manifest.json: OAuth provider "authorizationUrl" must not be provided when grantType is "clientCredentials"');
|
|
121
121
|
}
|
|
122
|
+
if (provider['grantType'] === 'clientCredentials' && provider['usePkce']) {
|
|
123
|
+
throw new Error('manifest.json: OAuth provider "usePkce" must not be provided when grantType is "clientCredentials"');
|
|
124
|
+
}
|
|
122
125
|
if (!(0, checks_1.isString)(provider['tokenUrl'])) {
|
|
123
126
|
throw new Error('manifest.json: OAuth provider "tokenUrl" must be a string');
|
|
124
127
|
}
|