Browse Source

Adding in admin API backwards compat.

gh-pages
mike12345567 5 years ago
parent
commit
c7d4c9793a
  1. 5
      packages/worker/src/api/routes/global/auth.js

5
packages/worker/src/api/routes/global/auth.js

@ -53,9 +53,10 @@ router
) )
.get("/api/global/auth/:tenantId/oidc/callback", authController.oidcAuth) .get("/api/global/auth/:tenantId/oidc/callback", authController.oidcAuth)
// 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/admin/auth/google/callback", authController.googleAuth)
.get("/api/global/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) .get("/api/global/auth/oidc/callback", authController.oidcAuth)
module.exports = router module.exports = router

Loading…
Cancel
Save