Couchbase Questions: Couchbase Mobile

Have a Question? Get it answered by our community

bmhardy's picture
Asked 5 months 1 week ago
Latest activity 5 months 1 week ago

How to get the session cookie after persona authentication

Hi,

I read this about using persona with couchbase:

Clients log in by sending a POST request to /dbname/_persona. The request body is a JSON document that contains an assertion property whose value is the signed assertion received from the identity provider. Just as with a _session...

bmhardy's picture
Asked 5 months 1 week ago
Latest activity 5 months 1 week ago

Wrong user exception not thrown in client code.

I'm using authorization in my couchbase config.

In my config.json, my sync function says this:

if (oldDoc) {
requireUser("importantUser@consultant.com");
}

This does indeed stop un authorized users from...

bmhardy's picture
Asked 5 months 1 week ago
Latest activity 5 months 1 week ago

Trouble with authorization in sync function

I'm having some trouble adding some authorization into our couchbase mobile app. Can you offer any help or insight?

I'm running this on an amazon ec2 instance so the couchbase version may be a little older than current.

I'm using persona to authenticate. I successfully...

AnupVeerapur's picture
Asked 5 months 1 week ago
Latest activity 5 months 5 days ago

Phonegap TodoLite Project creation error.

Hi, I am trying to create the TodoLite example project. I am always getting the error "Couchbase Lite not installed" and the porject does not seem to work later.

Please suggest what would have gone wrong.
I have followed all the steps as per the "...

lenniedg2000's picture
Asked 5 months 1 week ago
Latest activity 4 months 3 weeks ago

Couchbase Lite iOS Filter

Hi

I have some documents in my local Couchbase database that each have a channel set like "25".
On iOS in Objective C I then try to have a filter to ONLY pull the data for that channel down... My goal is to assign a channel ID to each user that signup in the application so that i...

opic's picture
Asked 5 months 2 weeks ago
Latest activity 4 months 3 weeks ago

Push replication stops working

Hello,

We have a CBlite Beta Plugin for Android Phonegap project running ok and replicating in pull and push mode in continuous mode. When a modification is made on the mobile database it is correctly pushed on the server.

Surprisingly, when the app is stopped and when we restart...

bmhardy's picture
Asked 5 months 2 weeks ago
Latest activity 5 months 2 weeks ago

Persona and couchbase

I was thinking of using persona authentication with my android application.

Can someone please enlighten me about what couchbase does with persona? Does the server run some code that responds to a persona request? Does authentication happen at a...

kanundrum's picture
Asked 5 months 2 weeks ago

How to get Android CBLite client to store session cookie

I setup my own authentication endpoint as per the directions here http://docs.couchbase.com/sync-gateway/#custom-indirect-authentication . It doesn't seem like getting the cookie using a DefaultHttpClient sets...

admwta's picture
Asked 5 months 3 weeks ago
Latest activity 2 weeks 3 days ago

Starting Sync Gateway on the AWS Community Instance

I got the community instance ami running from AWS. My instance is the Server + Synch Gateway instance. I see the rpm files for synch_gateway in the ec2-user home directory and trying to install the synch gateway tells me it is already installed. I am able to connect to the server web console...

esteban.aliverti's picture
Asked 6 months 1 day ago
Latest activity 6 months 1 day ago

Couchbase Lite: 'not_found' error when doing PUT/POST using REST API

Hi,

I'm currently developing an app using Couchbase Lite Beta2 for Android and Phonegap.
The Phonegap plugin is creating a database (let's say 'dbTest') and inserting some documents using Couchbase Lite java API:

...

Pages