Repository navigation
feat: add bearer and proxy authentication - #4
Conversation
There was a problem hiding this comment.
💡 Codex Review
couchdb_auth/lib/couchdb_auth/environment.ex
Lines 133 to 139 in a6222d9
_node instead of _nodes
The admin helpers build URLs by appending /_nodes/<node> when clustering is enabled. CouchDB’s per-node administration API uses the singular prefix /_node/<node> (e.g. /_node/node@127.0.0.1/_config). The current code therefore produces paths like /_nodes/node@127.0.0.1/_config, which hit the _nodes system database and return 404s rather than the intended configuration endpoints. Switching the prefix to /_node will route admin_* requests to the correct REST API.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Summary
Testing