diff --git a/packages/worker/src/api/index.js b/packages/worker/src/api/index.js index 844690148f..7ee933c14a 100644 --- a/packages/worker/src/api/index.js +++ b/packages/worker/src/api/index.js @@ -6,6 +6,15 @@ const { buildAuthMiddleware, auditLog, buildTenancyMiddleware } = require("@budibase/auth").auth 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 route: "/api/global/auth/:tenantId",