@adobe/helix-html-pipeline 3.12.2 → 3.12.3
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/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/utils/auth.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [3.12.3](https://github.com/adobe/helix-html-pipeline/compare/v3.12.2...v3.12.3) (2023-08-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* respond with 401 for invalid auth config ([#375](https://github.com/adobe/helix-html-pipeline/issues/375)) ([6b0f77f](https://github.com/adobe/helix-html-pipeline/commit/6b0f77f834903cdd5494d3191ca8ba0f0a1d8ae2)), closes [#374](https://github.com/adobe/helix-html-pipeline/issues/374)
|
|
7
|
+
|
|
1
8
|
## [3.12.2](https://github.com/adobe/helix-html-pipeline/compare/v3.12.1...v3.12.2) (2023-08-02)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/utils/auth.js
CHANGED
|
@@ -181,7 +181,7 @@ export class AuthInfo {
|
|
|
181
181
|
const { clientId, clientSecret } = idp.client(state);
|
|
182
182
|
if (!clientId || !clientSecret) {
|
|
183
183
|
log.error('[auth] unable to create login redirect: missing client_id or client_secret');
|
|
184
|
-
res.status =
|
|
184
|
+
res.status = 401;
|
|
185
185
|
res.error = 'invalid auth config.';
|
|
186
186
|
return;
|
|
187
187
|
}
|