From 57f3b73176c2d73b64926fb5365c4d7a424fce5e Mon Sep 17 00:00:00 2001 From: Nick Jackson Date: Tue, 1 Sep 2020 16:56:12 +0100 Subject: [PATCH 1/2] Increase Verify timeout to 120 minutes As advised by Verify, the maximum amount of time people can spend in the Verify flow has been increased from 90 minutes to 120 minutes. This increases our application timeout to match, making sure people who spend longer in Verify will not return to an expired session. --- app/controllers/verify/authentications_controller.rb | 2 +- spec/features/govuk_verify_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/verify/authentications_controller.rb b/app/controllers/verify/authentications_controller.rb index 086f2e742a..d18bb0f418 100644 --- a/app/controllers/verify/authentications_controller.rb +++ b/app/controllers/verify/authentications_controller.rb @@ -1,6 +1,6 @@ module Verify class AuthenticationsController < BasePublicController - CLAIM_TIMEOUT_LENGTH_IN_MINUTES = 90 + CLAIM_TIMEOUT_LENGTH_IN_MINUTES = 120 include PartOfClaimJourney diff --git a/spec/features/govuk_verify_spec.rb b/spec/features/govuk_verify_spec.rb index a7d0c8dc56..48cd75667b 100644 --- a/spec/features/govuk_verify_spec.rb +++ b/spec/features/govuk_verify_spec.rb @@ -103,11 +103,11 @@ end end - scenario "Users who take longer than 90 minutes to complete Verify are told that their session has timed out", js: true do + scenario "Users who take longer than 120 minutes to complete Verify are told that their session has timed out", js: true do stub_vsp_translate_response_request click_on "Continue" - travel 95.minutes do + travel 125.minutes do click_on "Perform identity check" expect(page).to have_text("Your session has ended due to inactivity") end From 126eee2bf4fd4f97409620833b4be83a316c1df5 Mon Sep 17 00:00:00 2001 From: Nick Jackson Date: Tue, 1 Sep 2020 16:59:44 +0100 Subject: [PATCH 2/2] Update CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 58d744e51a..8277830418 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ The format is based on [Keep a Changelog] ## [Unreleased] - Changes made to content pages ready for academic year 2020-21 +- Increase Verify timeout from 90 minutes to 120 minutes ## [Release 080] - 2020-06-25