1
0
Fork 0
mirror of synced 2024-06-02 10:34:40 +12:00

Adding in admin API backwards compat.

This commit is contained in:
mike12345567 2021-07-26 13:23:11 +01:00
parent 224a63ccb2
commit d03229caba

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