Skip to content

Commit e3b1204

Browse files
committed
requested_authn_context: authn_context_class_ref should be a list
1 parent 466d75e commit e3b1204

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/saml2/authn_context/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,5 +208,5 @@ def authn_context_class_ref(ref):
208208

209209
def requested_authn_context(class_ref, comparison="minimum"):
210210
return RequestedAuthnContext(
211-
authn_context_class_ref=AuthnContextClassRef(text=class_ref),
212-
comparison=comparison)
211+
authn_context_class_ref=[AuthnContextClassRef(text=class_ref)],
212+
comparison=comparison)

0 commit comments

Comments
 (0)