Open ccostino opened 3 months ago
I'm still looking into this one, but my impression right now is these are totally legit errors where the user is using an expired invitation.
The text needs changing of course. Also, it doesn't seem like we can artificially age the invitation by going into the invited_users table and changing the creation time. It seems like the creation time is also hardcoded into a token. So I was able to use an invitation that I had tried to artificially age, and I could join the service. I'm going to send myself a bunch of invitation and test them tomorrow when they age out for real.
@terrazoon We see your API PR to fix the text (https://github.com/GSA/notifications-api/pull/992). Is there anything that needs to be done about being able to accept expired invites? Thanks!
Noting here that https://github.com/GSA/notifications-api/pull/992 has been merged!
This is one of the errors we've seen captured in New Relic that we'd like to dig into and understand, if not also resolve.
It looks like we still have references to GOV.UK Notify in our code base. 🙁
Error message: Your invitation to GOV.UK Notify has expired. Please ask the person that invited you to send you another one Path: /invitation/
Exception: app.notify_client:InviteTokenError
Implementation Sketch and Acceptance Criteria
Security Considerations