estuary icon indicating copy to clipboard operation
estuary copied to clipboard

Replace Estuary username/password with Metamask auth

Open 10d9e opened this issue 2 years ago • 3 comments

As a customer I would like Metamask integration with Estuary to authenticate and log in to the application, and be able to interface with the Filecoin EVM chain.

10d9e avatar Dec 17 '22 01:12 10d9e

Proposed flow (simple):

1 - if user is not yet registered

connect wallet > go to a page to request invite passing the public key as username store the generated salt, username (this is already done) and hash.

2 - if user is registered

connect wallet > login with key > sign in upon sign in (metamask), fire an API call to look up the public key and hash from the database compute hash with bcrypt-js to authenticate handle login

alvin-reyes avatar Dec 25 '22 16:12 alvin-reyes

First draft of the sign up / sign in pages. Currently is working but looking at better signature verification steps for increase security. Screenshot 2023-02-14 at 10 27 24 AM Screenshot 2023-02-14 at 10 27 13 AM

LucRoy avatar Feb 14 '23 14:02 LucRoy

metamask-login-flow

LucRoy avatar Feb 15 '23 19:02 LucRoy