fission-codes / auth-lobby

The authentication service that Fission services run.
https://auth.fission.codes
GNU Affero General Public License v3.0
12 stars 1 forks source link

Clear indexedDB on "remove this device" #70

Open matheus23 opened 3 years ago

matheus23 commented 3 years ago

Carryover from #58

We should clear the indexedDB.

Currently, the auth lobby IPFS is accumulating pins without ever removing them. For me personally, this caused it to store >50k pins at some point from multiple accounts. Most of that data was encrypted with keys I have long lost.

Worth looking at the reset route to see how to do the same on device removal.