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 login, the response sets a session cookie.

How does one get the session cookie that is set after accessing the 
_persona url?

I am trying to understand this so I can allow the user to skip the persona 
login if their session is still valid.

The result I get back from the urlConnection using _persona is below but 
I'm not sure if that helps.
{
"authentication_handlers": [
"default",
"cookie",
"persona"
],
"ok": true,
"userCtx": {
"channels": {},
"name": "[email protected]"
}
}

-- 
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/5551bf88-8a5b-4e0a-9f4f-d8f537cac8ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to