Skip to content

Add invocation event information to verifyUserEmails parameters #9505

Closed

Description

@mtrezza

New Feature / Enhancement Checklist

Current Limitation

When setting the Parse Server option verifyUserEmails to a function, it's unknown to the function why it has been called. This does not allow for taking specific action according to the event.

Feature / Enhancement Description

Add a parameter to the method call, to know whether:

  • It was a sign-up or login
  • Which auth method has been used (username/password, auth provider)

It could simply pass the object that would be stored in the session createdWith field, as that already contains all the infos, for example:

{ "action": "login", "authProvider": "apple" }
{ "action": "signup", "authProvider": "password"}

Example Use Case

Require email verification only for auth providers who do not verify email addresses themselves.

Activity

  1. parse-github-assistant commented on Dec 24, 2024

    @parse-github-assistant

    Thanks for opening this issue!

    • 🎉 We are excited about your ideas for improvement!
  2. added
    bounty:$20Bounty applies for fixing this issue (Parse Bounty Program)
    type:featureNew feature or improvement of existing feature
    on Dec 24, 2024
  3. Vishal4real commented on Mar 14, 2025

    @Vishal4real

    Hello @mtrezza, I am willing to work on this issue will you please assign this to me!

  4. mtrezza commented on Mar 14, 2025

    @mtrezza
    MemberAuthor

    @Vishal4real Feel free to just go ahead and submit a PR. We do not assign issues. As long as there is a linked, published PR that is actively being worked on, others will see it.

  5. coratgerl commented on Dec 6, 2025

    @coratgerl
    Contributor

    Can I go ahead ln this one, @mtrezza? The author of the last PR hasn’t been active for 8 months ?

  6. mtrezza commented on Dec 6, 2025

    @mtrezza
    MemberAuthor

    @coratgerl the PR is stale as the author hasn't responded to the requested changes. so from a bounty perspective it's up for grabs. however, I see we've invested some effort there, the author and reviewer, so it may be good to base off the existing code. Are only the tests missing, which I see was the last comment?

  7. parseplatformorg commented on Feb 6, 2026

    @parseplatformorg
    Contributor

    🎉 This change has been released in version 9.3.0-alpha.1

  8. parseplatformorg commented on Feb 21, 2026

    @parseplatformorg
    Contributor

    🎉 This change has been released in version 9.3.0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bounty:$20Bounty applies for fixing this issue (Parse Bounty Program)state:releasedReleased as stable versionstate:released-alphaReleased as alpha versiontype: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