At the time I wrote this I hadn’t hit that problem yet.
I have since however.
My solution is to use Firebase authentication as it’s a more complete solution.
I save authentication data in Firebase to allow access to CouchDB.
At this time I’ve only done it with one global username and password, but I…