1
0
Fork 0
mirror of synced 2024-06-02 18:44:54 +12:00

Fixing issue #2579.

This commit is contained in:
mike12345567 2021-09-09 17:59:44 +01:00
parent 827a77fbf1
commit dbf830f12b

View file

@ -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,