Adding auth endpoints to no auth list.
This commit is contained in:
parent
9e73a75512
commit
cd69c9a883
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue