feat: LG13235 consume eipp data from sinatra#10618
Conversation
There was a problem hiding this comment.
what does Pe mean here?
There was a problem hiding this comment.
"Proofing Enhanced?" 😆 I really put it out there for feedback. I initially had it as "P2" since it was a step up from the P1 component. I'm really happy to change it to whatever is more intuitive though.
There was a problem hiding this comment.
ahh ok, I wonder what the convention was here? It isn't obvious to me what any of the other names in the file mean either.
There was a problem hiding this comment.
I don't think that P2 is the way to go. This isn't necessarily as step up from the base proofing experience since it is scoped to in-person. For the same reason proofing with a biometric was named Pb instead of P2.
The naming convention for vectors of trust is described in [RFC 8485]. They are an upper-case letter followed by a lower-case letter or a number.
There was a problem hiding this comment.
also what does P1 signify?
There was a problem hiding this comment.
I was understanding the "P" to signify proofing related components and "1" was because it was the initial component in the proofing category...I could be wrong though 😅
There was a problem hiding this comment.
hmm ok, i guess i wonder what implied_component_values is supposed to be? This file is totally new to me
There was a problem hiding this comment.
The description in this PR is super helpful!
The P component represents identity proofing. It contains the following values:
1: Identity proofing is performed
|
@KeithNava I started to set up the Sinatra app side. I am testing with your branch. Can you add enhanced_ipp_required to the Service Provider session on this branch? I am able to login with your branch (and not with main). Update: I can see the vtr on your branch has Pe included when I sign in from my branch ( |
|
Nice work Keith! 👏 🥳
|
There was a problem hiding this comment.
@KeithNava I am not sure what precautions are needed. I would ask to ensure you handled everything for a smooth deployment since you made some modifications.
a075b2b to
a9b5056
Compare
There was a problem hiding this comment.
What is this method doing on the authorization controller? I'm not sure I see where it is used.
There was a problem hiding this comment.
We have been trying to get away from including these methods on the protocol classes or adding the to the session. This was the way we would forward along SP request requirements before we built the AuthnContextResolver and resolved them based on VTRs and ARC values downstream.
There was a problem hiding this comment.
2 things here:
- This is going to be problematic in the 50/50 state because this could get serialized to the session by a new instance and read from an old instance. That would result in an
ArgumentErrorbecause the old instance will not know about this arg.
There was a problem hiding this comment.
Looking back over this and I forgot to write out the second thing. How embarrassing. I believe I was going to describe here what I described in this comment: #10618 (comment)
There was a problem hiding this comment.
This seems like an odd test-case here since PII being locked isn't necessarily related to enhanced in-person. I am not actually sure that we need changes to the authorization controller since its behavior should not change. It should continue forward the VTR along and we will operate on it downstream when we decide if we need enhanced in-person proofing.
|
It looks like this change is adding the
We should be able to introduce the |
|
This one looks like a good model implementation for what you need to do to add a new vector. Thank you @KeithNava! |
|
looks like there are just lint fixes that are needed to be able to merge this |
|
LGTM! 🥳 I tested your last commit with branch @KeithNava Can you have this merged in before the next deployment? I cannot push my Sinatra PR in until this makes it into prod. Thanks |
This reverts commit 36c248949d604d654e25f637f1867eccade2668f.
e650498 to
5107a9b
Compare
|
Thanks so much everyone! I learned a lot during this review, really appreciated all the feedback! 💯 |
Adding the ability to pull Enhanced IPP from the VTR parameter
🎫 Ticket
Link to the relevant ticket:
LG-13235
🛠 Summary of changes
Allow the application to recognize the Enhanced In Person Proofing flow coming from the Vector of Trust request (VTR) parameter by introducing a new value of
Pewhich represents the Enhanced Proofing component.📜 Testing Plan
Most of the confirmation is done through the spec tests but the follow on ticket to actually enable the passing of the values from the Sinatra application would be the true end to end test -> https://cm-jira.usa.gov/browse/LG-12858