GoodDollar / GoodServer

Backend to support the GoodDAPP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[GoodId]: register identity certificate issuance

L03TJ3 opened this issue · comments

By default we would assume that we will be able to verify if a user has done the good-id upgrade flow or not based on the existence of a identity certificate in their local storage.

If a user might access dapp/wallet from another device or it has cleared its cache/removed local db we need an alternative way to determine if a user has been already given a new identity certificate.

  • - when issuing an identity certificate, register for the specific wallet address that this certificate has been given
  • - create an endpoint /goodid/??? where we can verify this based on a user wallet address
  • - the registration should be deleted when for a wallet-address the verify/face/<signature> DELETE is called

To be decided

  • - should we re-issue the identity certificate when the endpoint is called?

we will not implement this on the server side but handle it based on 'last face-verification' or other data in local-storage