zkemail / email-wallet

A smart contract wallet controlled using email
https://emailwallet.org
MIT License
141 stars 18 forks source link

Add more status checks #99

Open Divide-By-0 opened 3 months ago

Divide-By-0 commented 3 months ago

To address things like this:

Sora — 08/01/2024 9:01 AM
This is the subject: Sign-up on device 2 for 10 TEST
I think you got an error because you try to sign-in before you sign-up any username.
Could you first specify the email address and any username in the sign-up menu?
shadow — 08/01/2024 9:04 AM
Ah, it is working now after I signed up. Thanks!
shadow — 08/01/2024 9:25 AM
BTW, is there any way to detect this on the frontend as the current behaviour is confusing for the user? Maybe some API where we can check this or something else?

We want an API on the server side that says if someone is logged in, or if they have signed up at all. It should be rate limited to avoid spamming. This should apply primarily to the oauth flow.