Merge pull request #2582 from Budibase/fix/sso-fix
Fix SSO callback URL in single tenancy mode
This commit is contained in:
commit
5681f183e7
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue