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 a email address change workflow #7152

Open
3 tasks done
mtrezza opened this issue Jan 30, 2021 · 4 comments
Open
3 tasks done

Add a email address change workflow #7152

mtrezza opened this issue Jan 30, 2021 · 4 comments
Labels
type:feature New feature or improvement of existing feature

Comments

@mtrezza
Copy link
Member

mtrezza commented Jan 30, 2021

New Feature / Enhancement Checklist

Current Limitation

Currently there is not built-in workflow for changing an email address like there is for email verification or password reset.

Feature / Enhancement Description

Adding a built-in workflow for changing the email address can leverage the already existing mechanisms for email verification / password reset.

Example Use Case

  1. User requests to change the email.
  2. Parse Server sends email to old email address.
  3. User opens email link and gets to website to enter a new email address.
  4. Parse Server changes email address in DB and sends confirmation email to old and new email address.

Alternatives / Workarounds

Manually implementing a workflow.

3rd Party References

(none)

Note

Before anyone starts to work on a PR, it makes sense to wait until the new PagesRouter is merged where this kind of workflow is easier to implement. In addition, any implementation in the current PublicAPIRouter will become obsolete once the PagesRouter goes out of experimental state - which should be fairly soon.

@mtrezza mtrezza added the type:feature New feature or improvement of existing feature label Jan 30, 2021
@sommye-ctr
Copy link

Any updates on this?

@mtrezza
Copy link
Member Author

mtrezza commented Aug 29, 2021

Yes, the Pages Router is capable of building this, but it is currently only available on the master branch and will be available from Parse Server 5.0. We are planning to release a 5.0 beta version in September.

But even with Parse Server 5.0 there won't be a built-in flow to change the email address, it still has to be built manually, but that will be quite easy and take only a handful of lines of code.

@andreisucman

This comment was marked as off-topic.

@mtrezza

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or improvement of existing feature
Projects
None yet
Development

No branches or pull requests

3 participants