ocastalabs/CouchDB-Facebook-Authentication — Issue #3: _fb_resp handler failure
Author: SpeCT
Created: 2011-10-13 09:31:16+00:00
State: open

Hi.
I've installed this extension on CouchDB 1.2.0a- and it fails to parse Facebook's response. Here is cut from couch.log:

[Thu, 13 Oct 2011 09:24:41 GMT] [info] [<0.22189.0>] 93.100.185.32 - - GET /_fb 302
[Thu, 13 Oct 2011 09:24:43 GMT] [error] [<0.19957.0>] Uncaught error in HTTP request: {error,undef}
[Thu, 13 Oct 2011 09:24:43 GMT] [info] [<0.19957.0>] Stacktrace: [{couch_util,json_decode,
[" "]},
{fb_auth,process_facebook_graphme_response,
1},
{fb_auth,handle_fb_code,2},
{couch_httpd,handle_request_int,5},
{couch_httpd_db,do_db_req,2},
{couch_httpd,handle_request_int,5},
{mochiweb_http,headers,5},
{proc_lib,init_p_do_apply,3}]
[Thu, 13 Oct 2011 09:24:43 GMT] [info] [<0.19957.0>] 93.100.185.32 - - GET /_fb_resp?code=AQAY0HikG7WQ_aZa-bdKiA3cbakssAfYPROyOT6LZZ0r7LuY4cXHoZQWNAUEY7X4rbg9tg-7_QFk87dd-HGtgZMRGrgNAmElDKTUZPfOsFPoRNrIEI0ltq53OMnbVBEZHdp0ZajUZve-e9AOb6XhL5YdccfZ96oSY18GcZkudFboRw1WqGyvSUaGY0uthNI9aW8 500

Could you please help me to understand whats going on and how can I fix it.

Thanks,
Yury