Reset password not sending email when user is coming from an invitation link

Context: related with this question: Organization Invitation Links Default to the Signup Prompt - 2 but focusing in a specific issue with the reset password link.

These are the steps for this issue:

  • You have an existing user in organisation A
  • That user is invited to join organisation B
  • The user is redirected to \u\signup\invitation
  • In that page, if you go to login you can actually login successfully
  • But if you go to login and try reset password, the user will not receive the link.
  • Please note that, the reset password workflow obviously works correctly if you use it directly (our website->universal login->reset password works).
  • The case when it fails is when you are coming from the invitation (invitation link->our website->universal-login->reset password fails)

Thanks in advance for any clue or guidance with this issue.

We are having the same issue and if you look at the logs in Auth0, the error that is shown is the following:

User does not exist or user is not part of organization

Auth0 is blocking the email because the user does not belong to the Organization that they are being invited to. This does not make sense because the user’s password is independent from any Organization they belong to because, like you mentioned, their password can be used to successfully login in to both Organizations.

This email should be sent out regardless as if it was from the original sign in page.

We would also like guidance on this.