File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -162,9 +162,9 @@ def load_sso_kwargs_authn_context(self, sso_kwargs):
162162 if ac :
163163 sso_kwargs ["requested_authn_context" ] = RequestedAuthnContext (
164164 authn_context_class_ref = [
165- AuthnContextClassRef (ac ['authn_context_class_ref' ]),
165+ AuthnContextClassRef (ref ) for ref in ac ['authn_context_class_ref' ]
166166 ],
167- comparison = ac .get ('comparison' , "minimum" ),
167+ comparison = ac .get ('comparison' , "minimum" ),
168168 )
169169
170170 def load_sso_kwargs (self , sso_kwargs ):
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ Authn Context
219219We can define the authentication context in settings.SAML_CONFIG['service']['sp'] as follows::
220220
221221 'requested_authn_context': {
222- 'authn_context_class_ref': saml2.saml.AUTHN_PASSWORD_PROTECTED,
222+ 'authn_context_class_ref': [ saml2.saml.AUTHN_PASSWORD_PROTECTED] ,
223223 'comparison': "exact"
224224 }
225225
You can’t perform that action at this time.
0 commit comments