handle auth0 user already exists in member import
@DSASanFrancisco/portal-members
Summary
Our member import script attempts to create auth0 user accounts for new members. In some cases, the new user already exists because they were manually created before national sends us their info. We catch this error in the auth0_invites
job in send_invites
method but do not catch that same error in the member import script.
Here's my attempt to fix that.
Dependencies
No dependencies
Merge Request Rules
Author
- If the MR isn't finished, prepend "WIP: " or "Draft: " to the title.
- You should review and approve your own merge request once you feel it is safe to merge (ie. you have tested the latest changes)
- Unless otherwise noted. Once you have approved it and you have another approval, you are free to merge it.
Reviewer
- Comments aren't necessarily blockers but can be. Add
[blocker]
, or something similar, to a comment as necessary, otherwise the author may not know what's a blocker and what's not. - Bias toward approving the MR and ask for follow-up work as needed. You can make these issues as needed.
- Be proactive about approving. If you and other reviewers make comments, and yours are resolved by the author, use your judgement to either approve or follow up with the other reviewers. Again, bias toward approving. -->