diff --git a/plugins/kiali-backend/src/plugin.ts b/plugins/kiali-backend/src/plugin.ts index 9302cdda62..aea5b98f1b 100644 --- a/plugins/kiali-backend/src/plugin.ts +++ b/plugins/kiali-backend/src/plugin.ts @@ -21,11 +21,15 @@ export const kialiPlugin = createBackendPlugin({ catalogApi: catalogServiceRef, }, async init({ http, logger, config }) { - const router = await createRouter({ - logger, - config, + http.use(await createRouter({ logger, config })); + http.addAuthPolicy({ + path: '/status', + allow: 'unauthenticated', + }); + http.addAuthPolicy({ + path: '/proxy', + allow: 'unauthenticated', }); - http.use(router); }, }); },