Asp.net 如何从Shibboleth.sso/SAML2/POST重定向到index.html
我已经在我的服务器(iis)上配置了服务提供程序,看起来一切正常。登录良好。SAML编码很好。 但它将我重定向到“” 我想去“” 下面是我的配置Asp.net 如何从Shibboleth.sso/SAML2/POST重定向到index.html,asp.net,shibboleth,saml-2.0,Asp.net,Shibboleth,Saml 2.0,我已经在我的服务器(iis)上配置了服务提供程序,看起来一切正常。登录良好。SAML编码很好。 但它将我重定向到“” 我想去“” 下面是我的配置 <SPConfig xmlns="urn:mace:shibboleth:2.0:native:sp:config" xmlns:conf="urn:mace:shibboleth:2.0:native:sp:config" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:saml
<SPConfig xmlns="urn:mace:shibboleth:2.0:native:sp:config"
xmlns:conf="urn:mace:shibboleth:2.0:native:sp:config"
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
clockSkew="180">
<InProcess logger="native.logger">
<ISAPI normalizeRequest="true" safeHeaderNames="true">
<Site id="1" name="mydomain.com" scheme="https" port="443"/>
</ISAPI>
</InProcess>
<RequestMapper type="Native">
<RequestMap>
<Host name="mydomain.com">
<Path name="secure" authType="shibboleth" equireSession="true"/>
</Host>
</RequestMap>
</RequestMapper>
<ApplicationDefaults entityID="https://www.example.com/shibboleth"
homeURL="https://example.com/secure/index.html"
REMOTE_USER="eppn persistent-id targeted-id">
<Sessions lifetime="28800" timeout="3600" relayState="ss:mem"
handlerURL="/Shibboleth.sso" handlerSSL="false"
exportLocation="http://example.com/Shibboleth.sso/GetAssertion"
checkAddress="false" cookieProps="https">
<SSO entityID="https://test-idp.ukfederation.org.uk/idp/shibboleth" discoveryProtocol="WAYF" discoveryURL="https://wayf.ukfederation.org.uk/WAYF">
SAML2 SAML1
</SSO>
<Logout>SAML2 Local</Logout>
<Handler type="MetadataGenerator" Location="/Metadata" signing="false"/>
<Handler type="Status" Location="/Status" acl="127.0.0.1 ::1"/>
<Handler type="Session" Location="/Session" showAttributeValues="false"/>
<Handler type="DiscoveryFeed" Location="/DiscoFeed"/>
<Handler type="AttributeChecker" Location="/AttrChecker" template="attrChecker.html"
attributes="eppn" flushSession="true"/>
</Sessions>
<Errors supportContact="support@mydomain.com"
helpLocation="/about.html"
styleSheet="/shibboleth-sp/main.css"/>
<MetadataProvider type="XML" uri="http://metadata.ukfederation.org.uk/ukfederation-metadata.xml"
backingFilePath="ukfederation-metadata.xml" reloadInterval="14400">
<MetadataFilter type="RequireValidUntil" maxValidityInterval="2592000"/>
<MetadataFilter type="Signature" certificate="ukfederation.crt"/>
</MetadataProvider>
<AttributeExtractor type="XML" validate="true" reloadChanges="false" path="attribute-map.xml"/>
<AttributeResolver type="Query" subjectMatch="true"/>
<AttributeFilter type="XML" validate="true" path="attribute-policy.xml"/>
<CredentialResolver type="File" key="sp-key.pem" certificate="sp-cert.pem"/>
</ApplicationDefaults>
<SecurityPolicyProvider type="XML" validate="true" path="security-policy.xml"/>
<ProtocolProvider type="XML" validate="true" reloadChanges="false" path="protocols.xml"/>
SAML2-SAML1
SAML2本地
POST请求成功后,下一步应该自动执行此操作。您在该页面上看到了什么消息?500.21错误页面,“ManagedPipelineHandler”