This is the code that i do get problem with:
var samlConfiguration = new SAMLConfiguration
{
LocalServiceProviderConfiguration = new LocalServiceProviderConfiguration
{
Name = “identifier_url”,
AssertionConsumerServiceUrl = “acs_url”
}
};
samlConfiguration.AddPartnerIdentityProvider(new PartnerIdentityProviderConfiguration
{
Name = “identifier_url”,
SingleSignOnServiceUrl = “saml_url”,
PartnerCertificateString = “cert”,
DisableRecipientCheck = true,
DisableDestinationCheck = true
});
SAMLController.Configuration = samlConfiguration;
SAMLServiceProvider.InitiateSSO(Response, null, “identifier_url”);
return new EmptyResult();
am i missing or doing something wrong?
That’s an error message generated by Azure AD.
Assuming the …_url values are just placeholders, I don’t see anything wrong with the code.
Please enable SAML trace and send the generated log file as an email attachment to support@componentspace.com mentioning this topic.
https://www.componentspace.com/Forums/17/Enabing-SAML-Trace
Assuming the ..._url values are just placeholders, I don't see anything wrong with the code.
Please enable SAML trace and send the generated log file as an email attachment to support@componentspace.com mentioning this topic.
https://www.componentspace.com/Forums/17/Enabing-SAML-Trace
sent you the log file.
thanks.
Thank you for the log.
One thing I noticed is that the AssertionConsumerServiceURL in the SAML authn request sent to Azure AD is set to “/account/assertionconsumerservice/”.
This value comes from AssertionConsumerServiceURL in your saml.config.
Try setting this to the absolute URL or use the tilde character to resolve the URL.
For example: “~/account/assertionconsumerservice/”.
If there’s still an issue, please send another log as well as screenshots of the settings in Azure AD.
One thing I noticed is that the AssertionConsumerServiceURL in the SAML authn request sent to Azure AD is set to "/account/assertionconsumerservice/".
This value comes from AssertionConsumerServiceURL in your saml.config.
Try setting this to the absolute URL or use the tilde character to resolve the URL.
For example: "~/account/assertionconsumerservice/".
If there's still an issue, please send another log as well as screenshots of the settings in Azure AD.
ty for quick response, i've noticed that too.
Let me know how that goes.
Please send another log file if there’s still an issue.
problem is solved, thanks.
Thanks for the update.