I have to make an explicit call to a document update via the REST-API. We identify users with Facebook authentification. My question is: can we reuse that session to make a custom http-call, without doing my own authentification?
I’ve looked into CBLAuthenticator, unfortunately it has a closed interface.
Any tipps to reuse the session would be great.
The replicator authentication state is internal and there’s no public API to access it. But if you’re authenticating with Facebook, you’re the one who gets the auth token from FB’s servers, so you can use that to authenticate with SG directly if you have to.
(Why do you need to write a doc to the server manually? Maybe there’s an alternative.)