We should have "LocalSTS.exe.config" inside the application to communicate with the ADFS server.
And we have to update a few things in a web.config file.
And, the ADFS server should know the login user details. The Authority will take care of that part:
- <authority name="http://fs.imstechie.com/adfs/services/trust">
- <keys>
- <add thumbprint="1a5a0a3460d8e9cbd7738b921bb4aba5aecba8ee" /> </keys>
- <validIssuers>
- <add name="http://fs.imstechie.com/adfs/services/trust" /> </validIssuers>
- </authority>
The above code should be added in web.config file.
Framework
You should use 4.5 frameworks to implement this. Attached is a sample application for your verification.
Hope this helps.
Please send me comments for more details.