Skip to content

LG-9939 Final doc_auth_controller removal#8705

Merged
soniaconnolly merged 5 commits intomainfrom
sonia-lg-9939-final-doc-auth-controller-removal
Jul 6, 2023
Merged

LG-9939 Final doc_auth_controller removal#8705
soniaconnolly merged 5 commits intomainfrom
sonia-lg-9939-final-doc-auth-controller-removal

Conversation

@soniaconnolly
Copy link
Contributor

🎫 Ticket

LG-9939

🛠 Summary of changes

Final removal of DocAuthController.

Do not merge until #8699 is deployed and we check logs to confirm nothing is going through these routes (no log entries containing DocAuthController).

📜 Testing Plan

  • Start from Sinatra app
  • Create account, go through IdV
  • Select Send Link at HybridHandoff, confirm that polling works
  • Continue through return to SP at the end of proofing

@soniaconnolly soniaconnolly requested review from a team and jmhooper July 5, 2023 20:10
@soniaconnolly soniaconnolly merged commit 0435778 into main Jul 6, 2023
@soniaconnolly soniaconnolly deleted the sonia-lg-9939-final-doc-auth-controller-removal branch July 6, 2023 19:48
This was referenced Jul 10, 2023
jmhooper added a commit that referenced this pull request Apr 16, 2024
…eStep`

The `add_cost` and `add_costs` methods both create `SpCost` records for FlowStateMachine steps the inherit from `Idv::Steps::DocAuthBaseStep`.

We [removed the `FlowStateMachine`](#8705) from all paths that lead to the creation of an `SpCost` record about a year ago. The [`FlowStateMachine`](https://github.com/18F/identity-idp/blob/main/app/services/flow/flow_state_machine.rb) and associated [`Idv::Steps::DocAuthBaseStep`](https://github.com/18F/identity-idp/blob/main/app/services/idv/steps/doc_auth_base_step.rb) remain, however, to support the in-person flow. The in-person flow does not create `SpCost` records in the `FlowStateMachine`.

These methods, like many methods in `FlowStateMachine` relics are unused. We left these unused methods because it was assumed that the `FlowStateMachine` would be removed from the in-person flow shortly after it was removed from the unsupervised flow. That has not been the case so this commit does some cleanup to remove them.

[skip changelog]
jmhooper added a commit that referenced this pull request Apr 16, 2024
…eStep` (#10448)

The `add_cost` and `add_costs` methods both create `SpCost` records for `FlowStateMachine` steps that inherit from `Idv::Steps::DocAuthBaseStep`.

We [removed the `FlowStateMachine`](#8705) from all paths that lead to the creation of an `SpCost` record about a year ago. The [`FlowStateMachine`](https://github.com/18F/identity-idp/blob/main/app/services/flow/flow_state_machine.rb) and associated [`Idv::Steps::DocAuthBaseStep`](https://github.com/18F/identity-idp/blob/main/app/services/idv/steps/doc_auth_base_step.rb) remain, however, to support the in-person flow. The in-person flow does not create `SpCost` records in the `FlowStateMachine`.

These methods, like many methods in `FlowStateMachine` relics, are unused. We left these unused methods because it was assumed that the `FlowStateMachine` would be entirely removed from the in-person flow shortly after it was removed from the unsupervised flow. That has not been the case so this commit does some cleanup to remove them.

[skip changelog]
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.

2 participants