-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Bug Description
login is required even though arkosConfig authentication.enabled = false
Expected Behavior
This should not require login
Steps to Reproduce
- disable authentication.enabled = false
- and try to call a route that have authentication setup
Arkos configuration
const config: ArkosConfig = {
middlewares: {
cors: {
allowedOrigins:
process.env.NODE_ENV !== "production" ? "*" : "your-production-url",
},
},
authentication: {
mode: "static",
login: {
allowedUsernames: ["email"],
},
enabled: false,
},
validation: {
resolver: "zod",
},
swagger: {
mode: "zod",
strict: false,
},
routers: {
strict: "no-bulk",
},
};Possible Workaround
Package
arkos
Arkos.js Version (or Package version)
1.4.0-beta
Node.js Version
22.x
Database
PostgreSQL
Operating System
macOS
Pre-submission Checklist
- I have searched existing issues to ensure this bug hasn't been reported
- I have tested this on the latest beta version
- I can reproduce this bug consistently
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working