mongodb / stitch-js-sdk

MongoDB Stitch JavaScript SDK
Apache License 2.0
113 stars 67 forks source link

Missing documentation? #405

Open mynormeza opened 4 years ago

mynormeza commented 4 years ago

I am in the process of migrating an Nuxt Universa App from firebase to Stitch, since Stitch js sdk does not have SSR support I'am dynamically importing either browser or server sdk. But I wanted to know abit more on how are both browser and server sdks are supposed to work together and I can't find any docs about it.

Or am i supposed to only use one of them? if that's the case then I just would need to use the server sdk and send an auth token to the server?

If I can use both of them how would that work? Is server auth ".NET's Identity" like? (automatically recognizes auth coming from client with a configuration step)