Good day,
We used ITfoxtec library version 1.2.2. This solution worked correctly.
We are now integrating the version 4.0.5 library. We need to use SHA-256 encoding. We used the 4.0.5 library from Nugets. According to the implementation example https://github.com/ITfoxtec/ITfoxtec.Identity.Saml2.
We changed the AccountController
, added App_Start \ IdentityConfig.cs
and added the IdentityConfig.RegisterIdentity()
call in Global.asax
.
Issue: The SigAlg and Signature parameters are missing in the provider request.
1.2.2 version library ITfoxtec, SAML tracker
4.0.5 version library ITfoxtec, SAML tracker
We set parameters:
"Saml2:IdPMetadata" = "/App_Data/metadata.xml"
"Saml2:Issuer" value = "http://xxx"
"Saml2:SignatureAlgorithm" = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"
"Saml2:SingleSignOnDestination" = "https://yyy/oamfed/idp/samlv20"
"Saml2:SingleLogoutDestination" = "https://yyy/oamfed/idp/samlv20"
"Saml2:SigningCertificateFingerPrint" = "5d223463130bd1e290f1ae8dc064d1c48ab517c2"
"Saml2:CertificateValidationMode" = "None"
"Saml2:RevocationMode" = "NoCheck"
The parameter "Saml2:SigningCertificateFingerPrint"
is a custom parameter, we load the certificate from the local storage:
Saml2Configuration.SigningCertificate = CertificateUtil.Load (StoreName.My, StoreLocation.LocalMachine, X509FindType.FindByThumbprint, ConfigurationManager.AppSettings.Get ("Saml2: SigningCertificateFingerPrint"));
Question: Why are the SigAlg and Signature parameters missing in the request? Bad configuration? Bad implementation?
Please help Well thank you DM