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

invite to group link doesn't include enrollment token #64

Open
kapil1garg opened this issue Feb 25, 2022 · 2 comments
Open

invite to group link doesn't include enrollment token #64

kapil1garg opened this issue Feb 25, 2022 · 2 comments
Labels
bug critical issue Issues that require immediate attention because they break the core functionality of the application needs investigation bug that needs investigation to determine if its actually a bug

Comments

@kapil1garg
Copy link
Contributor

When a user receives an email for a group invitation, clicking the "Join Group" link should direct them to pairresearch.io to an enrollment or login page. However, the link currently directs to the home page.

Two cases to investigate:

  1. User's account already exists, and they are being added to another group. In this case, they should be redirected to the login page or the groups page (pairresearch.io/groups) if already logged in.
  2. User's account does not exist, and they should be register. In this case, they should be directed to the enrollment page.
@kapil1garg kapil1garg added the bug label Feb 25, 2022
@kapil1garg
Copy link
Contributor Author

saw this happen with every person who signed up for DTR this cycle:
image (1)

A current workaround is to use Forgot Password to get a password reset email (with link to set a new password), and then logging in after. The group the person was invited to will appear on their groups page then

@kapil1garg kapil1garg added needs investigation bug that needs investigation to determine if its actually a bug critical issue Issues that require immediate attention because they break the core functionality of the application labels Jun 15, 2022
@kapil1garg
Copy link
Contributor Author

Reproduction steps:

  • When running Pair Research locally, include the mail URL: MAIL_URL="<mail_url_here>" meteor run
  • Try to add a member to a group. They should receive an email with a link (same as it does in production), and the link will also be shown in console (something like, Enrollment email URL: http://localhost:3000/#/enroll-account/SMJAdcuQt_RBxtD3IgITI5ndEeGN8wSOdsR1_R2wszV)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug critical issue Issues that require immediate attention because they break the core functionality of the application needs investigation bug that needs investigation to determine if its actually a bug
Projects
None yet
Development

No branches or pull requests

1 participant