Calling WCF Service from Web Application with ADFS RRS feed

  • Question

  • We have created a web application which is configured with ADFS 2.0. When we try to login to web application, it take us to ADFS login page and upon successful login, it is navigating to home page. It is working as expected.

    We have also created WCF Service to bundle all business logic and this service will be called from the above web application. We would like to use the same domain as web application. This WCF service is configured with ADFS using Identity and Access Tool.

    We hosted the web application in a web site under IIS. We hosted WCF under the same website by creating a virtual directory. This virtual directory is mapped to same app pool. With this setup, when we try to access WCF service, it is prompting for credential. Not sure why it is prompting even though we have already logged in to web app. Second, even if we provide username and password, it is not accepting and repeatedly prompting for credential.

    What are we missing in the whole setup? Can someone please point to any source which provides details about calling WCF from web app using ADFS?
    Wednesday, April 29, 2015 9:40 AM