File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 3737 'encrypt_assertion ' => true ,
3838 // Make sure messages are signed
3939 'messages_signed ' => true ,
40- // Defind what digital algorithm you want to use
40+ // Define what digital algorithm you want to use
4141 'digest_algorithm ' => \RobRichards \XMLSecLibs \XMLSecurityDSig::SHA1 ,
42+ // Auth Context to send with the assertion
43+ 'authn_context ' => SamlConstants::NAME_ID_FORMAT_UNSPECIFIED ,
4244 // list of all service providers
4345 'sp ' => [
4446 // Base64 encoded ACS URL
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ public function response()
122122 ->setAuthnInstant (new \DateTime ('-10 MINUTE ' ))
123123 ->setSessionIndex (Helper::generateID ())
124124 ->setAuthnContext (
125- (new AuthnContext )->setAuthnContextClassRef (SamlConstants::NAME_ID_FORMAT_UNSPECIFIED )
125+ (new AuthnContext )->setAuthnContextClassRef (config ( ' samlidp.authn_context ' , SamlConstants::NAME_ID_FORMAT_UNSPECIFIED ) )
126126 )
127127 );
128128
You can’t perform that action at this time.
0 commit comments