Skip to content

LG-9939 Remove (most of) DocAuthController and all of DocAuthFlow#8699

Merged
soniaconnolly merged 8 commits intomainfrom
sonia-lg-9939-remove-doc-auth-controller-and-flow
Jun 30, 2023
Merged

LG-9939 Remove (most of) DocAuthController and all of DocAuthFlow#8699
soniaconnolly merged 8 commits intomainfrom
sonia-lg-9939-remove-doc-auth-controller-and-flow

Conversation

@soniaconnolly
Copy link
Contributor

@soniaconnolly soniaconnolly commented Jun 29, 2023

🎫 Ticket

LG-9939

🛠 Summary of changes

Replace DocAuthController and specs with logging in case routes get used anywhere. (Plan is to remove the controller & spec completely in a followup PR)
Remove DocAuthFlow
Remove uses of idv_doc_auth_return_to_sp_url and idv_doc_auth_url
Fix specs
Bonus cleanup: remove unused verify_wait analytics events.

📜 Testing Plan

  • Create account, go through unsupervised IdV starting from Sinatra app.
  • Use cancel and start over link in at least one place
  • Click back links where they're available
  • Use mvatimeout yaml file as described in LG-9571: Warn on MVA error #8482, expect to see state id warning screen, click Exit Login.gov, expect to go back to Sinatra app.
  • Create account, go through verify by mail
  • Create account, go through in person flow

changelog: Internal, Identity verification, remove doc_auth_controller and doc_auth_flow
This way we'll know if any of them are still used.
And an incorrect previous_event_name comment
It was unused in _document_capture.html.erb_spec
Replaced with idv_in_person_step_url in _back.html_erb_spec since that's still in use.
@soniaconnolly soniaconnolly requested review from a team and jmhooper June 29, 2023 23:08
@@ -1,29 +0,0 @@
module Idv
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

to make it clearer that this is temporary code.
@soniaconnolly soniaconnolly merged commit 15c3767 into main Jun 30, 2023
@soniaconnolly soniaconnolly deleted the sonia-lg-9939-remove-doc-auth-controller-and-flow branch June 30, 2023 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants