Adding auth endpoints to no auth list.
This commit is contained in:
parent
3468c942f9
commit
caa62cba1c
|
@ -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