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

Add beforePasswordResetRequest trigger #9510

Open
mtrezza opened this issue Jan 6, 2025 · 1 comment · May be fixed by #9511
Open

Add beforePasswordResetRequest trigger #9510

mtrezza opened this issue Jan 6, 2025 · 1 comment · May be fixed by #9511
Labels
bounty:$20 Bounty applies for fixing this issue (Parse Bounty Program) type:feature New feature or improvement of existing feature

Comments

@mtrezza
Copy link
Member

mtrezza commented Jan 6, 2025

New Feature / Enhancement Checklist

Current Limitation

There is no way to add any conditions before the password reset request endpoint. This is important to mitigate sending emails to invalid email addresses to protect the IP reputation of the sender.

Feature / Enhancement Description

Add Cloud Code trigger to allow adding conditions and validations.

Example Use Case

  1. User invokes password reset request with invalid email address.
  2. In beforePasswordResetRequest trigger, the email address is validated and an error is thrown.

Alternatives / Workarounds

Add logic to email adapter, but at that point all the token generation and storage in DB has been done already, as sending the email is only the last step.

Copy link

parse-github-assistant bot commented Jan 6, 2025

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!

@mtrezza mtrezza added type:feature New feature or improvement of existing feature bounty:$20 Bounty applies for fixing this issue (Parse Bounty Program) labels Jan 6, 2025
@mtrezza mtrezza changed the title Add beforePasswordReset trigger Add beforePasswordResetRequest trigger Jan 6, 2025
@mtrezza mtrezza linked a pull request Jan 6, 2025 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty:$20 Bounty applies for fixing this issue (Parse Bounty Program) type:feature New feature or improvement of existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant