Hi Jason, Here's a separate minimal couchapp with only two buttons. One with, one without a callback following BrowserId login. You'll see there's no reaction and no console messages from the callback version.
http://wordit.iriscouch.com/browserid/_design/browserid/index.html I copied and pasted the callback code from the readme. Thanks, Marcus On Sat, Jan 26, 2013 at 10:00 AM, Jason Smith <[email protected]> wrote: > Hi, Marcus. It is possible this is a bug in the plugin. Do you have your > application published somewhere? I would like to look at it. > > Alternatively, if your code is private, we can work on this together > privately since you are an Iris Couch user. > > Thanks. > > > On Sat, Jan 26, 2013 at 2:59 AM, Wordit <[email protected]> wrote: > >> Does anyone know why the BrowserID callback for couchdb doesn't work >> as the docs say? >> >> (I'm using it on iriscouch. I take it this plugin can be installed on >> any couch? See https://github.com/iriscouch/browserid_couchdb ) >> >> This works: >> >> $.couch.browserid.login(); >> >> The callback function does not react at all though. No UI action, no >> console messages in Chrome or FF with Firebug: >> >> $.couch.browserid.login(function(event, error, user) { >> if(error) >> return console.log("Something went wrong with login: " + error); >> >> console.log("Congratulations " + user.email + ", you now have an >> account on my couch"); >> }); >> >> >> Marcus >> > > > > -- > Iris Couch
