feat: Implement saml auth providers API endpoint

This commit is contained in:
Faruk AYDIN
2024-03-14 10:26:26 +01:00
parent b1e2e370c8
commit 68c5a3dca7
12 changed files with 139 additions and 22 deletions

View File

@@ -0,0 +1,10 @@
import { Router } from 'express';
import asyncHandler from 'express-async-handler';
import { checkIsEnterprise } from '../../../helpers/check-is-enterprise.js';
import getSamlAuthProvidersAction from '../../../controllers/api/v1/saml-auth-providers/get-saml-auth-providers.ee.js';
const router = Router();
router.get('/', checkIsEnterprise, asyncHandler(getSamlAuthProvidersAction));
export default router;