Merge pull request #23980 from backstage/rugvip/noauth-events

events-backend: allow unauthenticated requests to http ingress
This commit is contained in:
Patrik Oldsberg
2024-04-04 11:21:47 +02:00
committed by GitHub
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',
});
},
});
},