From dbf830f12b2a29f97d69d9b9eb3d6ae27ac31fad Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Thu, 9 Sep 2021 17:59:44 +0100 Subject: [PATCH] Fixing issue #2579. --- packages/worker/src/api/routes/global/auth.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/worker/src/api/routes/global/auth.js b/packages/worker/src/api/routes/global/auth.js index 5e39f79135..9cd77ce153 100644 --- a/packages/worker/src/api/routes/global/auth.js +++ b/packages/worker/src/api/routes/global/auth.js @@ -61,6 +61,9 @@ router updateTenant, authController.googlePreAuth ) + // single tenancy endpoint + .get("/api/global/auth/google/callback", authController.googleAuth) + // multi-tenancy endpoint .get( "/api/global/auth/:tenantId/google/callback", updateTenant, @@ -71,6 +74,9 @@ router updateTenant, authController.oidcPreAuth ) + // single tenancy endpoint + .get("/api/global/auth/oidc/callback", authController.oidcAuth) + // multi-tenancy endpoint .get( "/api/global/auth/:tenantId/oidc/callback", updateTenant,