Skip to content

Commit 740f352

Browse files
[GH-49] Add security object with requestedAuthnContext set to True (#51)
* Trying an alternate way of using requestedAuthnContext * [Bot] Update version to 1.2.6 --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 5e28734 commit 740f352

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "uw-saml"
3-
version = "1.2.5"
3+
version = "1.2.6"
44
description = "A UW-specific adapter to the python3-saml package."
55
authors = []
66
license = "Apache 2.0"

uw_saml2/idp/federated.py

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,7 @@ class CascadiaAzureIdp(IdpConfig):
6666
wJPxARowqyxR5q6PWX5JzOtFzuCx0vJ/jI0o8iAg53fOitgDFj3E6/qxjPhoDY+Q
6767
Pq4dr8god4m9Nr6k8kFWBbL2sXn1GC72SDeuvk0Q4X3t8tLb
6868
"""
69-
security = {
70-
"requestedAuthnContext": [
71-
"urn:oasis:names:tc:SAML:2.0:ac:classes:Password",
72-
"urn:oasis:names:tc:SAML:2.0:ac:classes:X509",
73-
]
74-
}
69+
security = {"requestedAuthnContext": True}
7570

7671

7772
class CollegenetIdp(IdpConfig):
@@ -146,12 +141,7 @@ class FredHutchAzureIdp(IdpConfig):
146141
fMU1NZFfOfsaDjM18iSBDcsYIDeSadDh8knyFRxYGXHYrifEEq5qZBgnXXhYZLse
147142
4BimG9X9nynGlI6QcU5Qj7gnddQOQpk2OFFAGoUBw+vQaZNZLDGGcyvbRaueuXSh
148143
4gzm/WDtjnJ/Cod/Qg8OfJLEARBkLQZpvCFlTDFJ1dkDDRMC"""
149-
security = {
150-
"requestedAuthnContext": [
151-
"urn:oasis:names:tc:SAML:2.0:ac:classes:Password",
152-
"urn:oasis:names:tc:SAML:2.0:ac:classes:X509",
153-
]
154-
}
144+
security = {"requestedAuthnContext": True}
155145

156146

157147
class SccaIdp(IdpConfig):

0 commit comments

Comments
 (0)