Skip to content

Get rid of AuthClient (except for Internet Identity usage) #2725

@peterpeterparker

Description

@peterpeterparker

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions