-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Open
Labels
bounty:$20Bounty applies for fixing this issue (Parse Bounty Program)Bounty applies for fixing this issue (Parse Bounty Program)type:featureNew feature or improvement of existing featureNew feature or improvement of existing feature
Description
New Feature / Enhancement Checklist
- Report security issues confidentially.
- Any contribution is under this license.
- Before posting search existing issues.
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.
Metadata
Metadata
Assignees
Labels
bounty:$20Bounty applies for fixing this issue (Parse Bounty Program)Bounty applies for fixing this issue (Parse Bounty Program)type:featureNew feature or improvement of existing featureNew feature or improvement of existing feature