Are you using persona for authentication/sessions in CouchChat? And i see in the Gateway your using walrus... It didn't work at all just doing NSURLCredential + repl.credentials, now we're back to square one :) 13:36:23.143512 HTTP auth failed for username="[email protected]" 13:36:23.143626 HTTP: #3814: --> 401 Invalid login (0.0 ms)
We have a presentation next week and we can't even get normal email login to work lol. Just seems like everything is problems problems problems, we can't even check what you did with CouchChat. It doesn't compile at all after the normal git clone + git submodule init + submodule update, after that you have a bunch of errors. Right now im doubting if it's been worth spending more then a year now trying to get CouchBase to work with even the most basic stuff. CouchbaseLover.(Maybe i should change my name now lol) Den lördagen den 14:e juni 2014 kl. 03:50:47 UTC+2 skrev Jens Alfke: > > > On Jun 13, 2014, at 5:26 PM, CouchbaseLover <[email protected] > <javascript:>> wrote: > > 1. We post a user to the server. /$DB/_user/ > > > Um wait — you do this *from the app?* That’s part of the Sync Gateway > admin API … if you’re making the admin API publicly accessible, you’re > giving anyone in the world the ability to do anything to your database > (what CouchDB calls an “admin party”.) You definitely don’t want to do that > in real life. > > Seems like the only thing your doing is - NSURLCredentials *cred without > the need of NSURLProtectionSpace > and then just put CBLReplcation.credentials = cred. > > > Right. All you need to do is tell the replication object the > username/password to use. > > Where is your session? > > > There isn’t one; it’s just using HTTP Basic auth, i.e. passing the > username/password with each request. > > —Jens > > -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/b1a2b051-c7d3-499f-b26e-0d7f9944219d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
