plugins: allow unauthenticated access to health check endpoints

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-03-18 11:40:39 +01:00
parent 5d69520238
commit 4467036e2a
14 changed files with 68 additions and 0 deletions
@@ -90,6 +90,10 @@ export const notificationsPlugin = createBackendPlugin({
processors: processingExtensions.processors,
}),
);
httpRouter.addAuthPolicy({
path: '/health',
allow: 'unauthenticated',
});
},
});
},