Adding in admin API backwards compat.

This commit is contained in:
mike12345567 2021-07-26 13:23:11 +01:00
parent 224a63ccb2
commit d03229caba
1 changed files with 3 additions and 2 deletions

View File

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