Skip to content

publicServerURL has no effect on link sent in verification email #4671

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

Closed
anandundavia opened this issue Mar 23, 2018 · 2 comments
Closed

publicServerURL has no effect on link sent in verification email #4671

anandundavia opened this issue Mar 23, 2018 · 2 comments

Comments

@anandundavia
Copy link

anandundavia commented Mar 23, 2018

Issue Description

The publicServerURL has no effect on the verification link sent in the email.
I have enabled email verification in my project.
I have set publicServerURL to 'http://abc.com' ( for e.g. )

When I run the application locally, and try to sign up, the verification URL in the email starts with
my local address ( 127.0.0.1 ) but not the value I set in the publicServerURL

I know that ideally, because I am running the application locally, it should point me to my localhost.
But because I am explicitly setting the publicServerURL, should not it point me to that URL?

Steps to reproduce

Set up parse server
While setting up, set

verifyUserEmails: true, 
publicServerURL: 'http://abc.com'

Now try to sign up.
Check the your email.

The verification url starts with http://127.0.0.1:4000 rather than http://abc.com

Expected Results

Verification Link should start with publicServerURL ( http://abc.com for example )

Actual Outcome

Verification Link starts with http://127.0.0.1:4000 ( the address on which my parse-server is running)

Environment Setup

  • Server

    • parse-server version : [2.7.4]
    • Operating System: [Windows 7, MacOS 10.12]
    • Hardware: [FILL THIS OUT]
    • Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): [localhost]
  • Database

    • MongoDB version: [FILL THIS OUT]
    • Storage engine: [FILL THIS OUT]
    • Hardware: [FILL THIS OUT]
    • Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): [Azure Cloud]
@jamesthedove
Copy link

Can you show your full Parse Server configuration?

@stale
Copy link

stale bot commented Sep 18, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants