oidc: some comments

This commit is contained in:
Girish Ramakrishnan
2025-07-13 15:28:47 +02:00
parent 04de621e37
commit a7e507a137
2 changed files with 6 additions and 5 deletions
+3 -1
View File
@@ -86,7 +86,9 @@ async function list(req, res, next) {
const [error, result] = await safe(oidcClients.list());
if (error) return next(BoxError.toHttpError(error));
next(new HttpSuccess(200, { clients: result.filter(client => !client.appId) }));
const clients = result.filter(client => !client.appId); // filter out oidc and proxyauth addon clients
next(new HttpSuccess(200, { clients }));
}
async function del(req, res, next) {