Merge pull request #23386 from backstage/rugvip/no-auth

app-backend: disable default auth policy for now
This commit is contained in:
Ben Lambert
2024-03-05 13:41:15 +01:00
committed by GitHub
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: '/',
});
},
});
},