divviup / divviup/divviup-api

Can't trigger a second invitation email to a user

Open
#192 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Bug Security Server Usability
Dominant language
Rust
Stars
10
Forks
5
Avg merge
2h 41m
Merged PRs (30d)
66

Description

Related to #191: I tried adding an email address to a second task, to work around an invitation email that had expired. I logged in as an admin to look at the queue, and the resulting CreateUser job failed, presumably because Auth0 already had set up a user with the same email address. We need to have some way to try sending an invitation-skinned password reset email again later, to deal with expired emails. (though we may want to rate-limit it to avoid being abused as a nuisance)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading related issue #191 and tracing the CreateUser job that fails when Auth0 already has the email address. Identify how invitation emails and password resets are currently handled; done means a later invitation-skinned reset can be triggered for an existing user without creating a duplicate account, with the abuse or rate-limit behavior decided.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
authentication, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.