database login support

This commit is contained in:
Jan Prochazka
2024-08-02 12:25:19 +02:00
parent 7fcebedcdd
commit f777530b1c
2 changed files with 36 additions and 3 deletions

View File

@@ -21,7 +21,13 @@ function unauthorizedResponse(req, res, text) {
}
function authMiddleware(req, res, next) {
const SKIP_AUTH_PATHS = ['/config/get', '/auth/oauth-token', '/auth/login', '/stream'];
const SKIP_AUTH_PATHS = [
'/config/get',
'/auth/oauth-token',
'/auth/login',
'/stream',
'storage/get-connections-for-login-page',
];
// console.log('********************* getAuthProvider()', getAuthProvider());