"You can also embed the username/password directly in the replication URL 
if you want, like
http://username:[email protected]:4984/db/";
Is this really secure though? 

Den tisdagen den 22:e april 2014 kl. 16:08:58 UTC+2 skrev Jens Alfke:
>
>
> On Apr 22, 2014, at 1:11 AM, CouchbaseLover <[email protected] 
> <javascript:>> wrote:
>
> I changed so ToDoLite would work on our server instead of yours with 
> success, except sharing the "lists" didn't work ? But we get the right 
> documents in our todo bucket - sync user/sessions and so forth. Why is 
> this? 
>
>
> Sounds like an issue with the sync function. Did you copy the sync 
> function from the original gateway’s config into yours?
>
> I tried to replicate this "user management" you got in ToDoLite but 
> without fb login and instead create a user account/session with the sync 
> gateway API ( custom authentication etc) with success. 
>
>
> Great. I don’t use Facebook myself, so I’d love it if ToDoLite could use 
> username/password auth.
>
> What's the next step? The sync function has guest disabled, but the app 
> still asks for login (running the app) and we get still get the "401 
> Login required  (0.0 ms)" error. 
>
>
> Not quite sure what you’re asking; in the client app are you setting the 
> credentials of the CBLReplication object? For example,
> repl.credential = [NSURLCredential credentialWithUser: username password: 
> password persistence: NSURLCredentialPersistenceForSession];
> You can also embed the username/password directly in the replication URL 
> if you want, like
> http://username:[email protected]:4984/db/
>
> —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/3874e03f-9971-4988-af42-4c0727d53eae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to