Skip to content

update saml_idp gem to handle default aal authn context#4885

Merged
achapm merged 1 commit intomainfrom
saml-idp-default-aal-authn-context
Apr 7, 2021
Merged

update saml_idp gem to handle default aal authn context#4885
achapm merged 1 commit intomainfrom
saml-idp-default-aal-authn-context

Conversation

@achapm
Copy link
Contributor

@achapm achapm commented Apr 7, 2021

If a service provider passes the default aal value (urn:gov:gsa:ac:classes:sp:PasswordProtectedTransport:duo) in the authn contexts it will not be returned in the SamlIdp::Request.requested_aal_authn_context

Added tests to confirm that urn:gov:gsa:ac:classes:sp:PasswordProtectedTransport:duo is returned as expected.

More information on the saml_idp PR here:
18F/saml_idp#38

Quote from @aduth on the saml_idp PR:
Just to clarify, we'd not want to return the default value as a fallback from requested_aal_authn_context because the method is intended to return only what's been requested by an SP, and the defaulting behavior in the IDP isn't sufficient because it may try for an IAL context before returning the IAL default value?

Copy link
Contributor

@orenyk orenyk left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@achapm achapm merged commit 7c4d45c into main Apr 7, 2021
@achapm achapm deleted the saml-idp-default-aal-authn-context branch April 7, 2021 19:42
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