Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider email verification for submitting reports #7890

Open
jonasfj opened this issue Jul 25, 2024 · 1 comment
Open

Consider email verification for submitting reports #7890

jonasfj opened this issue Jul 25, 2024 · 1 comment

Comments

@jonasfj
Copy link
Member

jonasfj commented Jul 25, 2024

We may require email verification prior to submission of reports.

I think we should consider this. I imagine that we could use the current form, such that:

  • If you're signed-in, there is no email field (as today), you just enter content and hit send.
  • If you're not signed-in, you have two options:
    • Sign-in to submit a report (initiating a sign-in flow)
    • Submit report with email verification:
      • displays a form:
        • Enter email:
        • Enter content:
        • Hit [verify email button] (initiates consent flow, sending you an email)
      • When opening the consent flow to verify email, the page will display:
        • Report message you intend to sent
        • [Verify email and submit report button]

We could make this change in a follow up, but this way we could keep the reporting mechanism from being hit by bots (accidental or not).

@jonasfj
Copy link
Member Author

jonasfj commented Jul 25, 2024

I was mostly thinking that this might be easy to do because we already have a consent flow.

We could also just use the consent flow to verify the email for the current session, and store the verified email in the session.

Then the report form will have two options:

  • If you're signed-in or have a verified email for current session: enter content and submit.
  • If you're not signed-in and have no verified email, you get two buttons:
    • Sign-in to submit report
    • Verify email to submit report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants