Motivation
The AuthClient source code is IMO borderline garbage (no offense) and is a pain in the ass to use - so many workarounds are needed to improve security or sync tabs. It makes sense to use it for interacting with Internet Identity (to some extension) but, for all the rest, saving and loading the identity from IDB, there should be no need to use it. Furthermore, I understand the foundation is gonna add more dependencies to it, which I don't want to inherit - adding dependencies is a bad practice and as we see recently nowadays, open doors to supply chain attack. In a first step, I can try to remove it when II is not used (lazy load?) but, ultimately, if I had the time, I should entirely get rid of that stuff.
This for the Console but, also in the tooling including JS core.
Motivation
The
AuthClientsource code is IMO borderline garbage (no offense) and is a pain in the ass to use - so many workarounds are needed to improve security or sync tabs. It makes sense to use it for interacting with Internet Identity (to some extension) but, for all the rest, saving and loading the identity from IDB, there should be no need to use it. Furthermore, I understand the foundation is gonna add more dependencies to it, which I don't want to inherit - adding dependencies is a bad practice and as we see recently nowadays, open doors to supply chain attack. In a first step, I can try to remove it when II is not used (lazy load?) but, ultimately, if I had the time, I should entirely get rid of that stuff.This for the Console but, also in the tooling including JS core.