@adobe/helix-html-pipeline 6.1.0 → 6.1.1

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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## [6.1.1](https://github.com/adobe/helix-html-pipeline/compare/v6.1.0...v6.1.1) (2024-01-13)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * handle /.auth path ([#490](https://github.com/adobe/helix-html-pipeline/issues/490)) ([ce2d761](https://github.com/adobe/helix-html-pipeline/commit/ce2d7617b6abd138a5f58ffb2788e698396191fc))
7
+
1
8
  # [6.1.0](https://github.com/adobe/helix-html-pipeline/compare/v6.0.1...v6.1.0) (2024-01-13)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-html-pipeline",
3
- "version": "6.1.0",
3
+ "version": "6.1.1",
4
4
  "description": "Helix HTML Pipeline",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
package/src/html-pipe.js CHANGED
@@ -105,7 +105,7 @@ export async function htmlPipe(state, req) {
105
105
  });
106
106
 
107
107
  // check if `.auth` route to validate and exchange token
108
- if (state.partition === '.auth') {
108
+ if (state.partition === '.auth' || state.info.path === '/.auth') {
109
109
  const authInfo = await getAuthInfo(state, req);
110
110
  await authInfo.exchangeToken(state, req, res);
111
111
  /* c8 ignore next */