fix: allow unauthenticated signals connection to fix 401

the signals handles authentication itself in the middleware thus we
should allow unauthenticated requests to pass through

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
This commit is contained in:
Heikki Hellgren
2024-04-02 10:32:05 +03:00
parent f0551639e9
commit 5f9877b646
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-signals-backend': patch
---
Fix unauthorized signals connection by allowing unauthenticated requests
+1 -1
View File
@@ -58,7 +58,7 @@ export const signalsPlugin = createBackendPlugin({
}),
);
httpRouter.addAuthPolicy({
path: '/health',
path: '*',
allow: 'unauthenticated',
});
},