This commit is contained in:
mike12345567 2021-07-22 16:37:50 +01:00
parent 0473c295d3
commit 8bf275ca44
3 changed files with 4 additions and 8 deletions

View File

@ -55,10 +55,7 @@ router
// deprecated - used by the default system before tenancy // deprecated - used by the default system before tenancy
.get("/api/global/auth/google", authController.googlePreAuth) .get("/api/global/auth/google", authController.googlePreAuth)
.get("/api/global/auth/google/callback", authController.googleAuth) .get("/api/global/auth/google/callback", authController.googleAuth)
.get( .get("/api/global/auth/oidc/configs/:configId", authController.oidcPreAuth)
"/api/global/auth/oidc/configs/:configId",
authController.oidcPreAuth
)
.get("/api/global/auth/oidc/callback", authController.oidcAuth) .get("/api/global/auth/oidc/callback", authController.oidcAuth)
module.exports = router module.exports = router

View File

@ -3,7 +3,6 @@ const controller = require("../../controllers/global/flags")
const router = Router() const router = Router()
router router.get("/api/global/flags", controller.fetch)
.get("/api/global/flags", controller.fetch)
module.exports = router module.exports = router