I have configured Sharepoint with ADFS (claims-based auth). There is another web site (probably on a different machine) that shall be shown in a web part - just like page viewer it is hosted in an iframe. The url to that web part can be configured by the web part. To be able to do that, the other web site is contacted from the Sharepoint server via c# code.
Unluckily as the response of my httpwebrequest I get the login screen of ADFS back. When switching autoredirect to false, one can see the try to redirect to log in screen.
The problem here seems to be that the credentials will not be delivered to the web site via the web request as the call is done on server side not from browser (where it will probably work).
Is there any possibility to make that working? - probably by sending the used cookies to the server? - delegating the user information to the adfs login page?