Fixing issue #2579.
This commit is contained in:
parent
827a77fbf1
commit
dbf830f12b
|
@ -61,6 +61,9 @@ router
|
||||||
updateTenant,
|
updateTenant,
|
||||||
authController.googlePreAuth
|
authController.googlePreAuth
|
||||||
)
|
)
|
||||||
|
// single tenancy endpoint
|
||||||
|
.get("/api/global/auth/google/callback", authController.googleAuth)
|
||||||
|
// multi-tenancy endpoint
|
||||||
.get(
|
.get(
|
||||||
"/api/global/auth/:tenantId/google/callback",
|
"/api/global/auth/:tenantId/google/callback",
|
||||||
updateTenant,
|
updateTenant,
|
||||||
|
@ -71,6 +74,9 @@ router
|
||||||
updateTenant,
|
updateTenant,
|
||||||
authController.oidcPreAuth
|
authController.oidcPreAuth
|
||||||
)
|
)
|
||||||
|
// single tenancy endpoint
|
||||||
|
.get("/api/global/auth/oidc/callback", authController.oidcAuth)
|
||||||
|
// multi-tenancy endpoint
|
||||||
.get(
|
.get(
|
||||||
"/api/global/auth/:tenantId/oidc/callback",
|
"/api/global/auth/:tenantId/oidc/callback",
|
||||||
updateTenant,
|
updateTenant,
|
||||||
|
|
Loading…
Reference in New Issue