File tree 2 files changed +3
-3
lines changed
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):
162
162
if ac :
163
163
sso_kwargs ["requested_authn_context" ] = RequestedAuthnContext (
164
164
authn_context_class_ref = [
165
- AuthnContextClassRef (ac ['authn_context_class_ref' ]),
165
+ AuthnContextClassRef (ref ) for ref in ac ['authn_context_class_ref' ]
166
166
],
167
- comparison = ac .get ('comparison' , "minimum" ),
167
+ comparison = ac .get ('comparison' , "minimum" ),
168
168
)
169
169
170
170
def load_sso_kwargs (self , sso_kwargs ):
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ Authn Context
219
219
We can define the authentication context in settings.SAML_CONFIG['service']['sp'] as follows::
220
220
221
221
'requested_authn_context': {
222
- 'authn_context_class_ref': saml2.saml.AUTHN_PASSWORD_PROTECTED,
222
+ 'authn_context_class_ref': [ saml2.saml.AUTHN_PASSWORD_PROTECTED] ,
223
223
'comparison': "exact"
224
224
}
225
225
You can’t perform that action at this time.
0 commit comments