Skip to content

Conversation

@KeenWarrior
Copy link

The current verify-email HTTP method is set to POST. Which would not work on email link click.

Updates change method to GET and also update sample email content of send verification email to correct path.

const subject = 'Email Verification';
// replace this url with the link to the email verification page of your front-end app
const verificationEmailUrl = `http://link-to-app/verify-email?token=${token}`;
const verificationEmailUrl = `http://link-to-app/v1/auth/verify-email?token=${token}`;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KeenWarrior , I think it will be front-end url. frontend will call the api accordingly. so no changes required.

@chintanshahts
Copy link

@KeenWarrior, I think it will be front-end url. frontend will call the api accordingly. so no changes required.

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

Successfully merging this pull request may close these issues.

3 participants