CodeWithAloha / HIERR

A Human-Centered Digital Engagement Process for the Hawai‘i Economic Recovery & Resilience Project with the State Office of Planning & Sustainable Development
https://hierr.vercel.app/
10 stars 7 forks source link

Improve the sign-in process #180

Open avenmia opened 10 months ago

avenmia commented 10 months ago

The current sign-in/create account implementation uses NextAuth's email provider to send magic links to user's email that they can use to log in. If there is an existing account it retrieves the user's data from the database, otherwise it creates a new account.

One pain point for users was that they couldn't remember their email passwords. They would be signed in to their email on their phone, but since they were using the workshop's computer, they wouldn't be able to use the magic link.

The goal of this issue is to come up with an alterative way for people to sign-in/create an account so that they don't need to remember their email passwords.

Notes:

References:

dinoboy197 commented 3 months ago

This could be tricky. When a user wants to sign in on a computer they haven't signed in on before, they need to "prove" that they are who they say that they are. Typical ways to do that include typing in a password on the website, or clicking a magic link. If the user can't "prove" that they are who they say that they are, then there isn't too much we can do to help them.