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

Password reset, email verification not working with custom pages endpoint #7235

Closed
5 of 6 tasks
mtrezza opened this issue Mar 2, 2021 · 2 comments · Fixed by #7236
Closed
5 of 6 tasks

Password reset, email verification not working with custom pages endpoint #7235

mtrezza opened this issue Mar 2, 2021 · 2 comments · Fixed by #7236
Labels
state:released Released as stable version state:released-beta Released as beta version

Comments

@mtrezza
Copy link
Member

mtrezza commented Mar 2, 2021

New Issue Checklist

Issue Description

Originally reported by @mman in #7210 (comment).

the PagesRouter must be mounted on /apps otherwise it will break the password reset logic (since UserController.js seems to be ignoring the pages router mount path.

This is true for password reset and email verification.

Steps to reproduce

  1. Use experimental pages router
  2. Set custom pages endpoint that is not apps
  3. Request a password reset link --> link is incorrect

Actual Outcome

Link is incorrect because it contains the default endpoint apps.

Expected Outcome

Link should contains the custom pages.

Failing Test Case / Pull Request

  • 🤩 I submitted a PR with a fix and a test case.
  • 🧐 I submitted a PR with a failing test case.

Environment

Server

  • Parse Server version: master #3833868
  • Operating system: -
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): -

Database

  • System (MongoDB or Postgres): -
  • Database version: -
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): -

Client

  • SDK (iOS, Android, JavaScript, PHP, Unity, etc): -
  • SDK version: -

Logs

(none)

@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 5.0.0-beta.1

@parseplatformorg parseplatformorg added the state:released-beta Released as beta version label Nov 1, 2021
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 5.0.0

@parseplatformorg parseplatformorg added the state:released Released as stable version label Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:released Released as stable version state:released-beta Released as beta version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants