couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jasondav...@apache.org
Subject svn commit: r824268 - /couchdb/trunk/src/couchdb/couch_httpd_oauth.erl
Date Mon, 12 Oct 2009 09:02:49 GMT
Author: jasondavies
Date: Mon Oct 12 09:02:48 2009
New Revision: 824268

URL: http://svn.apache.org/viewvc?rev=824268&view=rev
Log:
Added handy log message for debugging OAuth behind proxies.

Modified:
    couchdb/trunk/src/couchdb/couch_httpd_oauth.erl

Modified: couchdb/trunk/src/couchdb/couch_httpd_oauth.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_httpd_oauth.erl?rev=824268&r1=824267&r2=824268&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_httpd_oauth.erl (original)
+++ couchdb/trunk/src/couchdb/couch_httpd_oauth.erl Mon Oct 12 09:02:48 2009
@@ -20,6 +20,7 @@
     serve_oauth(Req, fun(URL, Params, Consumer, Signature) ->
         AccessToken = proplists:get_value("oauth_token", Params),
         TokenSecret = couch_config:get("oauth_token_secrets", AccessToken),
+        ?LOG_DEBUG("OAuth URL is: ~p", [URL]),
         case oauth:verify(Signature, atom_to_list(MochiReq:get(method)), URL, Params, Consumer,
TokenSecret) of
             true ->
                 set_user_ctx(Req, AccessToken);



Mime
View raw message