custom auth with phonegap

47 views
Skip to first unread message

Dominique Legault

unread,
Jun 6, 2014, 7:16:32 PM6/6/14
to mobile-c...@googlegroups.com
Hello Everyone,

I've followed the documentation and setup a couchbase db, and mirrored it with a shadow db on a sync gateway instance. I've figured out how to write a sync function for my data set and can query it with the REST API, I've written a PHP based custom login function that sets the sync gateway cookie headers. now I'm looking at the phone gap todo-lite example app and trying to authenticate it with my custom login API. If I authenticate the coax client in the todo phonegap app with my custom authentication that sets the cookie header will successive requests to the sync gateway be authenticated with that cookie ?

Any plans to implement persona login example or server login example to the todo-lite example ?

What about a logout function ?

seems like the kitchen sink is missing a faucet. can I help ?

Thanks for the good work, I'll do my best to contribute something to the project. perhaps I can work on the example todo-lite app to implement missing features.

One thing I'm interested in is P2P replication, I've read a bit about the couchbase lite java listner implementation Does anyone have any experience with it ? is there an example app that uses it ?

seems like the authetication via the listner is iffy, have those issues been resolved ? or is there something else that's better ?

Thanks for your time,
Dominique




Jessica Liu

unread,
Jun 6, 2014, 8:46:12 PM6/6/14
to mobile-c...@googlegroups.com
Hi there Dominique, any contributions would be helpful. Would you be able to file these as GitHub issues on https://github.com/couchbaselabs/ToDoLite-PhoneGap/issues ? It would help us to continue tracking those issues/requests to enhance the application. We definitely want to make sure our sink has a "faucet".
- Jessica
Reply all
Reply to author
Forward
0 new messages