Skip to content

LG-12262 Stop reading from sp_session[:ial2]#10129

Merged
jmhooper merged 1 commit intomainfrom
jmhooper-remove-sp-session-ial2
Feb 22, 2024
Merged

LG-12262 Stop reading from sp_session[:ial2]#10129
jmhooper merged 1 commit intomainfrom
jmhooper-remove-sp-session-ial2

Conversation

@jmhooper
Copy link
Contributor

We are replacing the sp_sesison[:ial2] value with checks against resolved_authn_context_result.identity_proofing?. This commit removes the places where we are reading sp_sesison[:ial2]. Once this is merged and fully deployed we can stop writing sp_session[:ial2].

@jmhooper jmhooper requested a review from a team February 21, 2024 20:47
Comment on lines 58 to 59
Copy link
Contributor

Choose a reason for hiding this comment

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

probs a thought for a separate PR:

this is making me think resolved_authn_context_result might not be the clearest name? because otherwise we could essentially make this is a delegate_to kind of thing, renaming the property for clarity makes it seem like we have two names for the same thing

Like this is what the RP requested, so maybe it's like authentication_request?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I didn't love "AuthnContextResolver" and it has been turtles all the way down. Open to other suggestions.

Copy link
Contributor

Choose a reason for hiding this comment

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

  • requested_authentication would let us keep the same property names so requested_authentication.identity_proofing? makes it clear it was what was requested?
  • auth_request.identity_proofing_required? might be another?

@jmhooper jmhooper force-pushed the jmhooper-remove-sp-session-ial2 branch from c3ae51f to c306c05 Compare February 21, 2024 21:26
Base automatically changed from jmhooper-remove-sp-session-ial to main February 22, 2024 15:26
@jmhooper jmhooper force-pushed the jmhooper-remove-sp-session-ial2 branch from c306c05 to 2e53e56 Compare February 22, 2024 15:29
We are replacing the `sp_sesison[:ial2]` value with checks against `resolved_authn_context_result.identity_proofing?`. This commit removes the places where we are reading `sp_sesison[:ial2]`. Once this is merged and fully deployed we can stop writing `sp_session[:ial2]`.

[skip changelog]
@jmhooper jmhooper force-pushed the jmhooper-remove-sp-session-ial2 branch from 2e53e56 to e91011a Compare February 22, 2024 16:03
@jmhooper jmhooper merged commit 6382895 into main Feb 22, 2024
@jmhooper jmhooper deleted the jmhooper-remove-sp-session-ial2 branch February 22, 2024 16:52
jmhooper added a commit that referenced this pull request Feb 26, 2024
A previous change (ref: #10129) stopped reading from `sp_session[:ial2]` and started using the result from the `AuthnContextResolver` instead.

This change follows up by removing writes to the `ial2` property in the SP session. This should not be merged until the change to stop reading is fully merged and deployed.

[skip changelog]
jmhooper added a commit that referenced this pull request Feb 26, 2024
A previous change (ref: #10129) stopped reading from `sp_session[:ial2]` and started using the result from the `AuthnContextResolver` instead.

This change follows up by removing writes to the `ial2` property in the SP session. This should not be merged until the change to stop reading is fully merged and deployed.

[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