Making old google/oidc callback endpoints public.
This commit is contained in:
parent
e91289e10d
commit
9197a6e124
|
@ -6,6 +6,15 @@ const { buildAuthMiddleware, auditLog, buildTenancyMiddleware } =
|
||||||
require("@budibase/auth").auth
|
require("@budibase/auth").auth
|
||||||
|
|
||||||
const PUBLIC_ENDPOINTS = [
|
const PUBLIC_ENDPOINTS = [
|
||||||
|
// old deprecated endpoints kept for backwards compat
|
||||||
|
{
|
||||||
|
route: "/api/admin/auth/google/callback",
|
||||||
|
method: "GET",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
route: "/api/admin/auth/oidc/callback",
|
||||||
|
method: "GET",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
// this covers all of the POST auth routes
|
// this covers all of the POST auth routes
|
||||||
route: "/api/global/auth/:tenantId",
|
route: "/api/global/auth/:tenantId",
|
||||||
|
|
Loading…
Reference in New Issue