> On May 4, 2016, at 11:42 AM, vikas sachdeva <[email protected]> > wrote: > > How does one get the session cookie that is set after accessing the _persona > url?
There isn’t a way to get that. The request is sent by the replicator, which uses a private cookie store. (At least on iOS. I am not sure how the cookie handling works on other platforms.) > I am trying to understand this so I can allow the user to skip the persona > login if their session is still valid. Instead of trying to preflight, just let the replicator run. If there is no valid session, the replicator will get a 401 error. In that case, start the Persona login UI, and when you get a new token, register it and try again. —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/15E816E1-30A3-4879-B34D-203DEFA4741A%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
