events-backend: allow unauthenticated requests to http ingress

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-04-04 10:56:48 +02:00
parent 3fc4dc7017
commit 7899e554b0
2 changed files with 9 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-events-backend': patch
---
Allow unauthenticated requests for HTTP ingress.
@@ -94,6 +94,10 @@ export const eventsPlugin = createBackendPlugin({
const eventsRouter = Router();
http.bind(eventsRouter);
router.use(eventsRouter);
router.addAuthPolicy({
allow: 'unauthenticated',
path: '/http',
});
},
});
},