nc-apps / quex

UX Questionnaires for the student initiative project
Apache License 2.0
0 stars 0 forks source link

Set up sign in and sign up #30

Closed SantaClaas closed 1 month ago

SantaClaas commented 1 month ago

Sign in flow is now:

---
title: "Sign in flow: The happy path"
---

flowchart LR
    A[Sign up page] --> B[Enter email & name] --> C[Open link in email] --> D[Signed in]
    E[Sign in page] --> F[Enter email] --> C

Other changes:

Not implemented:

I know this is a lot so we can go through it later if you want.

SantaClaas commented 1 month ago

Forgot to mention: I've used Resend for sending emails because it was the easiest way. We could later add SMTP so users can use a private email account they have as an alternative.

SantaClaas commented 1 month ago

Also missing: Sign out button to delete cookie and invalidate session

SantaClaas commented 1 month ago

Also missing: redirect user when signed in and trying to sign in again