-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lg-14794 reuse valid capture app url #11555
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
1118b4e
Adding functionality and test for standard controller
AShukla-GSA e7ebbb4
Adding logic to hybrid controller, pausing to wait for feature test i…
AShukla-GSA 403c4e5
Resolving PR comments, spec test fails due to capture app reset error
AShukla-GSA 426a165
Resolving PR comments
AShukla-GSA a034a7b
Resolving PR comments
AShukla-GSA 2c0bd80
Fixing rebase
AShukla-GSA fdce7b5
changelog: Upcoming Features, socure, reuse socure valid urls
AShukla-GSA de8643e
Resolving PR comments
AShukla-GSA b364ccd
Fixing test
AShukla-GSA 0dd9e7e
Resolving pr comments
AShukla-GSA 8d3265f
Resolving PR additions
AShukla-GSA File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,11 @@ def show | |
Funnel::DocAuth::RegisterStep.new(current_user.id, sp_session[:issuer]). | ||
call('socure_document_capture', :view, true) | ||
|
||
if document_capture_session.socure_docv_capture_app_url.present? | ||
@url = document_capture_session.socure_docv_capture_app_url | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. since we've added the interstitial page ... it appears we no longer need the other instance variables below ... as opposed to cleaning up here. however, i think it'd be easier to rid of them in LG-14279 |
||
return | ||
end | ||
|
||
# document request | ||
document_request = DocAuth::Socure::Requests::DocumentRequest.new( | ||
redirect_url: idv_socure_document_capture_update_url, | ||
|
@@ -50,10 +55,6 @@ def show | |
return | ||
end | ||
|
||
document_capture_session = DocumentCaptureSession.find_by( | ||
uuid: document_capture_session_uuid, | ||
) | ||
|
||
document_capture_session.socure_docv_transaction_token = document_response.dig( | ||
:data, | ||
:docvTransactionToken, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since we've added the interstitial page ... it appears we no longer need the other instance variables below ... as opposed to cleaning up here. however, i think it'd be easier to rid of them in LG-14279