Skip to content

Add beforePasswordResetRequest trigger #9510

Open
@mtrezza

Description

@mtrezza

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bounty:$20Bounty applies for fixing this issue (Parse Bounty Program)type:featureNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions