Adding auth endpoints to no auth list.

This commit is contained in:
mike12345567 2021-04-26 15:44:28 +01:00
parent 3468c942f9
commit caa62cba1c
1 changed files with 6 additions and 1 deletions

View File

@ -4,7 +4,12 @@ const zlib = require("zlib")
const { routes } = require("./routes")
const { buildAuthMiddleware } = require("@budibase/auth").auth
const NO_AUTH_ENDPOINTS = ["/api/admin/users/first"]
const NO_AUTH_ENDPOINTS = [
"/api/admin/users/first",
"/api/admin/auth",
"/api/admin/auth/google",
"/api/admin/auth/google/callback",
]
const router = new Router()