Closed thekaveman closed 3 months ago
Screen for error that occurs on the Login side of the handoff
Screen for error that occurs on the IDG side of the handoff
All of the copy in these screens passes accessibility. Note the use of the sad bus icon as a decorative image. CTAs are to Return home (sentence case). More detail available on Figma.
I created two screens to cover more use cases, and am happy to talk through more about how they might work beyond the scope of this ticket.
Checking in on this ^
Design review scheduled for 6/12 to complete handoff.
Overview
This is a follow-up to the minor incident documented in #2009.
We want to ensure that if errors are generated during the Auth interaction with IdG they are handled appropriately by the Benefits app, and users are given a meaningful error message.
This is related to the new error page design and scoping happening for #1939
Eligibility verification error
This error state addresses errors result after a rider has authenticated with Login.gov and the Benefits requests the CDT Identity Gateway verify eligibility for the selected transit Benefit. The fix is outside the user's control; resolution will require support from the CDT team and may take hours to resolve.
The genesis for this error message is the incident documented in this report.
“The technical manifestation of this issue was that when the Benefits application sent its request to the IdG, and the user completed their sign in with Login.gov, the IdG attempted to sign the token response back to Benefits with an expired certificate. This led to a failure in the IdG, with the resulting 500 response back to the Benefits app, causing a failure to parse the token response, which ultimately generated the Sentry notification.”
Acceptance criteria:
Design criteria
Engineering criteria
[x] Implement this version
[x] No surprises on spacing, colors, fonts, etc -- all the same as other error pages
[x] In
oauth.views
, any error condition related to creating or using theoauth_client
shows this error page[x] Whenever this error page is shown, a Sentry event captures the exception (this will be an explicit Sentry call)
[x] We aren't handling the
error_code
case returned from IdG in this ticket