diff --git a/app/controllers/idv/in_person/verify_info_controller.rb b/app/controllers/idv/in_person/verify_info_controller.rb
index e7988c084a4..37f3fb6be1d 100644
--- a/app/controllers/idv/in_person/verify_info_controller.rb
+++ b/app/controllers/idv/in_person/verify_info_controller.rb
@@ -48,7 +48,7 @@ def invalid_state?
end
def prev_url
- idv_in_person_proofing_ssn_url
+ idv_in_person_ssn_url
end
def pii
diff --git a/app/controllers/idv/in_person_controller.rb b/app/controllers/idv/in_person_controller.rb
index ab28eb607f5..21c191c1855 100644
--- a/app/controllers/idv/in_person_controller.rb
+++ b/app/controllers/idv/in_person_controller.rb
@@ -16,7 +16,7 @@ class InPersonController < ApplicationController
FLOW_STATE_MACHINE_SETTINGS = {
step_url: :idv_in_person_step_url,
- final_url: :idv_in_person_proofing_ssn_url,
+ final_url: :idv_in_person_ssn_url,
flow: Idv::Flows::InPersonFlow,
analytics_id: 'In Person Proofing',
}.freeze
diff --git a/app/services/idv/steps/in_person/address_step.rb b/app/services/idv/steps/in_person/address_step.rb
index 6b304143082..7b53f4943f7 100644
--- a/app/services/idv/steps/in_person/address_step.rb
+++ b/app/services/idv/steps/in_person/address_step.rb
@@ -30,7 +30,7 @@ def call
redirect_to idv_in_person_verify_info_url if updating_address?
- redirect_to idv_in_person_proofing_ssn_url
+ redirect_to idv_in_person_ssn_url
end
def extra_view_variables
diff --git a/app/services/idv/steps/in_person/state_id_step.rb b/app/services/idv/steps/in_person/state_id_step.rb
index 1645b0d931d..f87327898c1 100644
--- a/app/services/idv/steps/in_person/state_id_step.rb
+++ b/app/services/idv/steps/in_person/state_id_step.rb
@@ -27,7 +27,7 @@ def call
if pii_from_user[:same_address_as_id] == 'true'
copy_state_id_address_to_residential_address(pii_from_user)
mark_step_complete(:address)
- redirect_to idv_in_person_proofing_ssn_url
+ redirect_to idv_in_person_ssn_url
end
if initial_state_of_same_address_as_id == 'true' &&
diff --git a/app/views/idv/in_person/verify_info/show.html.erb b/app/views/idv/in_person/verify_info/show.html.erb
index a4e80dff376..6aff91ed815 100644
--- a/app/views/idv/in_person/verify_info/show.html.erb
+++ b/app/views/idv/in_person/verify_info/show.html.erb
@@ -145,7 +145,7 @@ locals:
<%= link_to(
t('idv.buttons.change_label'),
- idv_in_person_proofing_ssn_url,
+ idv_in_person_ssn_url,
'aria-label': t('idv.buttons.change_ssn_label'),
) %>
diff --git a/config/routes.rb b/config/routes.rb
index deae3c521a9..867cf456b3e 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -375,8 +375,14 @@
# sometimes underscores get messed up when linked to via SMS
as: :capture_doc_dashes
- get '/in_person_proofing/ssn' => 'in_person/ssn#show'
- put '/in_person_proofing/ssn' => 'in_person/ssn#update'
+ # DEPRECATION NOTICE
+ # Usage of the /in_person_proofing/ssn routes is deprecated.
+ # Use the /in_person/ssn routes instead.
+ #
+ # These have been left in temporarily to prevent any impact to users
+ # during the deprecation process.
+ get '/in_person_proofing/ssn' => redirect('/verify/in_person/ssn', status: 307)
+ put '/in_person_proofing/ssn' => redirect('/verify/in_person/ssn', status: 307)
get '/in_person' => 'in_person#index'
get '/in_person/ready_to_verify' => 'in_person/ready_to_verify#show',
@@ -384,6 +390,8 @@
post '/in_person/usps_locations' => 'in_person/usps_locations#index'
put '/in_person/usps_locations' => 'in_person/usps_locations#update'
post '/in_person/addresses' => 'in_person/address_search#index'
+ get '/in_person/ssn' => 'in_person/ssn#show'
+ put '/in_person/ssn' => 'in_person/ssn#update'
get '/in_person/verify_info' => 'in_person/verify_info#show'
put '/in_person/verify_info' => 'in_person/verify_info#update'
get '/in_person/:step' => 'in_person#show', as: :in_person_step
diff --git a/spec/controllers/idv/in_person_controller_spec.rb b/spec/controllers/idv/in_person_controller_spec.rb
index e1b39c8f1a2..cae705cbbbe 100644
--- a/spec/controllers/idv/in_person_controller_spec.rb
+++ b/spec/controllers/idv/in_person_controller_spec.rb
@@ -97,7 +97,7 @@
it 'finishes the flow' do
put :update, params: { step: 'state_id' }
- expect(response).to redirect_to idv_in_person_proofing_ssn_url
+ expect(response).to redirect_to idv_in_person_ssn_url
end
end
end
diff --git a/spec/features/idv/in_person_spec.rb b/spec/features/idv/in_person_spec.rb
index da36ad7f664..9d098d8f577 100644
--- a/spec/features/idv/in_person_spec.rb
+++ b/spec/features/idv/in_person_spec.rb
@@ -559,7 +559,7 @@
click_idv_continue
# ssn page
- expect(page).to have_current_path(idv_in_person_proofing_ssn_url)
+ expect(page).to have_current_path(idv_in_person_ssn_url)
complete_ssn_step
# verify page
@@ -652,7 +652,7 @@
fill_in t('idv.form.address2_optional'), with: InPersonHelper::GOOD_ADDRESS2
fill_in t('idv.form.city'), with: InPersonHelper::GOOD_CITY
click_idv_continue
- expect(page).to have_current_path(idv_in_person_proofing_ssn_url, wait: 10)
+ expect(page).to have_current_path(idv_in_person_ssn_url, wait: 10)
end
end
end
diff --git a/spec/features/idv/steps/in_person/state_id_step_spec.rb b/spec/features/idv/steps/in_person/state_id_step_spec.rb
index 47e42beece9..d0109843d9c 100644
--- a/spec/features/idv/steps/in_person/state_id_step_spec.rb
+++ b/spec/features/idv/steps/in_person/state_id_step_spec.rb
@@ -37,7 +37,7 @@
fill_in t('in_person_proofing.form.state_id.zipcode'), with: '123456789'
expect(page).to have_field(t('in_person_proofing.form.state_id.zipcode'), with: '12345-6789')
click_idv_continue
- expect(page).to have_current_path(idv_in_person_proofing_ssn_url)
+ expect(page).to have_current_path(idv_in_person_ssn_url)
end
end
end