app-backend: disable default auth policy for now

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-03-04 18:34:49 +01:00
parent b130eb36b4
commit 52e43f2f55
2 changed files with 9 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-app-backend': patch
---
Disable default auth policy, allowing unauthenticated access to app bundle.
@@ -81,6 +81,10 @@ export const appPlugin = createBackendPlugin({
schema,
});
httpRouter.use(router);
httpRouter.addAuthPolicy({
allow: 'unauthenticated',
path: '/',
});
},
});
},