Github user kxepal commented on a diff in the pull request:
https://github.com/apache/couchdb-chttpd/pull/53#discussion_r36028860
--- Diff: src/chttpd.erl ---
@@ -345,28 +405,33 @@ make_uri(Req, Raw) ->
{[{<<"url">>,Url}, {<<"headers">>,{Headers}}]}.
%%% end hack
+authenticate_request(Req) ->
+ AuthenticationFuns = [
+ {"cookie", fun chttpd_auth:cookie_authentication_handler/1},
+ {"default", fun chttpd_auth:default_authentication_handler/1},
+ {"local", fun chttpd_auth:local_admin_handler/1} %% should be last
--- End diff --
In addition to [these
problems](https://github.com/apache/couchdb-couch/pull/81/files#diff-b34b52654741e1d12cd91c2b36b09968L350)
you seems eventually drop
[`OAuth`](https://github.com/apache/couchdb-couch/blob/master/src/couch_httpd_oauth.erl#L33-L35)
support.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---