brunobouko / eid-idp

Automatically exported from code.google.com/p/eid-idp
Other
0 stars 0 forks source link

Wrong issuer URL when using WS-Federation #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. Follow the video on http://www.youtube.com/watch?v=7AFGfWj7q5Q&hd=1 in 
Visual Studio 2010 and use 
http://e-contract.be/eid-idp/endpoints/ws-federation/metadata/auth-ident-metadat
a.xml as STS
2. Run the application
3. You get the error "webpage not found" 
https://e-contract.be:80/eid-idp/protocol/ws-federation/auth-ident?wa=wsignin1.0
&wtrealm=http%3a%2f%2flocalhost%3a64171%2fWebSite3%2f&wctx=rm%3d0%26id%3dpassive
%26ru%3d%252fWebSite3%252fdefault.aspx%253f&wct=2012-12-12T14%3a00%3a29Z

In web.config, change 
<wsFederation passiveRedirectEnabled="true" 
issuer="https://e-contract.be:80/eid-idp/protocol/ws-federation/auth-ident"
to
<wsFederation passiveRedirectEnabled="true" 
issuer="https://e-contract.be/eid-idp/protocol/ws-federation/auth-ident"
(remove the :80 from the issuer URL).

Now it works.

Original issue reported on code.google.com by matth...@regas.be on 12 Dec 2012 at 2:07

GoogleCodeExporter commented 8 years ago
You always have to use HTTPS.

Original comment by frank.co...@gmail.com on 14 Dec 2012 at 5:27