我正在尝试在我的 OWIN 网站中通过 Kentor 身份验证服务使用 SAML。但是我认为配置有问题,因为 SAML 返回 URL 与我配置的不同。我做错了什么。
这是配置
<kentor.authServices entityId="https://admin.mercedes-forms.ggg.com.au" returnUrl="http://admin.mercedes-forms.ggg.com.au/Callback/Saml2">
<identityProviders>
<add entityId="https://int.smfed.extranet.daimler.com/"
signOnUrl="https://cdiwl-appstest.i.daimler.com/affwebservices/public/saml2sso"
allowUnsolicitedAuthnResponse="true" binding="HttpRedirect">
<signingCertificate fileName="~/App_Data/int.smfed.extranet.daimler.com.cer" />
</add>
</identityProviders>
<federations>
<add metadataLocation="http://admin.mercedes-forms.ggg.com.au/Federation" allowUnsolicitedAuthnResponse="true" />
</federations>
<serviceCertificates>
<add fileName="~/App_Data/Kentor.AuthServices.StubIdp.cer" />
</serviceCertificates>
</kentor.authServices>
这是身份验证请求
<saml2p:AuthnRequest xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" ID="idaa4b00c6cd334f5c927526106a6da12f" Version="2.0" IssueInstant="2017-04-05T00:18:45Z" Destination="https://cdiwl-appstest.i.daimler.com/affwebservices/public/saml2sso" AssertionConsumerServiceURL="https://admin.mercedes-forms.ggg.com.au/AuthServices/Acs">
<saml2:Issuer>https://admin.mercedes-forms.ggg.com.au</saml2:Issuer>
</saml2p:AuthnRequest>
提前致谢。