ymcatwincities/openy_gated_content

Virtual Y: Triangle YMCA (Personify) members see Try Again with Inactive User error after auto-logout OR when attempting sign-in without signing out the prior day

Closed this issue · 5 comments

**Note: Y-USA is actively looking into this issue.

Repro Steps

  1. Sign in to the Triangle YMCA Virtual Y (https://ymcatriangle.y.org/) using member credentials. (use Virtual Y - Triangle Personify Test Member from Team Password - https://app.teampassword.com/dashboard#account/317108).
  2. Close the window without signing out.
  3. The next day, use this same browser (not necessarily the same browser tab) to attempt sign-in.
  4. Click the Enter Virtual Y button. Observe getting redirected to https://ymcatriangle.y.org/?personify-error=1 and seeing a Try Again button.

or

  1. Sign in to the Triangle YMCA Virtual Y (https://ymcatriangle.y.org/) using member credentials. (use Virtual Y - Triangle Personify Test Member from Team Password - https://app.teampassword.com/dashboard#account/317108).
  2. Leave the browser window open for a time exceeding Triangle's auto-logout threshold of 4 hours.
  3. Clicking around the site after this time will automatically sign out.
  4. Click the Enter Virtual Y button. Observe getting redirected to https://ymcatriangle.y.org/?personify-error=1 and seeing a Try Again button.

Expected Behavior

When a valid member is signed-out via auto-logout and attempts a new session, that member should not get redirected to https://ymcatriangle.y.org/?personify-error=1 and see the Try Again button. Likewise, when a valid member does not sign out, but instead closes the browser and attempt sign-in the next day, that member should not get redirected to https://ymcatriangle.y.org/?personify-error=1 and see the Try Again button.

Actual Behavior

When a valid member is signed-out via auto-logout and attempts a new session, the member gets redirected to https://ymcatriangle.y.org/?personify-error=1 and sees the Try Again button. Alternatively, when a valid member does not sign out, and attempts a sign-in the next day, that member gets redirected to https://ymcatriangle.y.org/?personify-error=1 and see the Try Again button.

In both cases, clicking the Try Again button, followed by a second click of the Enter Virtual Y button will bring the member to the Personify sign-in page, but all members will call their local help desk before attempting a second sign-in attempt.

Acceptance Criteria

Members with valid Personify accounts should never get redirected to https://ymcatriangle.y.org/?personify-error=1 and see the Try Again button.
personify-error following timeout

@TomScarboroughYMCA thanks for opening a ticket and for the outline of the issue. What version of VY is Triangle on?

@shelleygoetz please create a ticket in Jira and hold on assigning for the moment while Y USA is investigating. Please tag to the next VY release.

@TomScarboroughYMCA Anatoliy reached out in Slack as well, but the PR is ready for your review and testing since Triangle's Personify instance is unique.

@TomScarboroughYMCA I believe you have access to this patch now, but it will be included in the Nov 9 release. I am closing this ticket as a result.