locked
Step by Step to authenticate using ADFS in ASP.NET RRS feed

  • Question

  • Hi,

    I have the following scenario:

    1. An application AP1 requests a SAML token from ADFS server, authenticating to that security token service.
    2. The security token service issues a SAML token to a second Application, AP2. The SAML token is signed with a certificate associated with the security token service and contains a proof key encrypted for the target service.
    3. AP2 also receives a copy of the proof key. AP2 then presents the SAML token to the application service of AP1 and signs the message with that proof key.
    4. The signature over the SAML token tells the relying party that the security token service issued the token. The message signature created with the proof key tells the relying party that the token was issued to the client.

    Is there any C# code that can walk me through on I can build AP2 as described above? And how about the part that ADFS authenticate and sends out token? Is there any sample code that I can follow?

    Thanks in advance. Your help would be greatly appreciated!


    • Edited by wkpli Thursday, May 26, 2016 1:14 PM
    Wednesday, May 25, 2016 2:42 PM

Answers

All replies