Skip to content

This .NET (C#) sample demonstrates how to fetch tokens from IssuedToken* ADFS active endpoints.

Notifications You must be signed in to change notification settings

PurnaChandraPanda/Issuedtokenmixedasymmetricbasic256Sample

Repository files navigation

Issuedtokenmixedasymmetricbasic256Sample

This .NET (C#) sample demonstrates how to fetch tokens from IssuedToken* ADFS active endpoints.

Broadly, we have to perform the following steps (in sequence) on the client application:

  1. Using "UserNameWSTrustBinding", client gets token from "usernamemixed" ADFS endpoint.
  2. Using "IssuedTokenWSTrustBinding", client presents the above token to "issuedtokenmixedsymmetricbasic256" ADFS endpoint, and gets a token in response.
  3. Using "WS2007FederationHttpBinding", the token is presented during the WCF service operation call.

Steps to make the sample running:

  1. Download the whole sample
  2. Service application Issuedtokenmixedasymmetricbasic256WcfService1 can be hosted on IIS
  3. Ensure ADFS is provisoned as per the screenshots in blog
  4. Configure your endpoints in client application configuration file of ActiveADFSClientApp
  5. Run the app now

About

This .NET (C#) sample demonstrates how to fetch tokens from IssuedToken* ADFS active endpoints.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published