oidc: some comments
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user