Is it possible for a chrome extension to sync local database for each chrome user (pouchDB, indexedDB) over irisCouch, withoud any custom authentication service/server in the middle, just using google's logged in user (oAuth) ?
I'm trying to figure this out for days but I'm really stuck just to find out if it's possible.
I'm not sure if I'm heading in the right direction, but I imagined this kind of flow:
- create google identitiy, relax csp in manifest, add permission to my NAME.iriscouch.com in manifest
- enable CORS on iriscouch
- generate user's token authentication on irisCouch
- I will need per-user database for each chrome user to have unique data?
I can't seem to find tutorials on this matter, and I don't have the time to read 100 pages of documentation from various sources.