Sample .NET code for a SAML Identity Provider

30,030

Solution 1

ComponentSpace claims to have example code for an Identity Provider and a 30-day trial, so you could at least look at the code.

Not really an example of code for an Identity Provider, but CodeProject has a good article on Performing a SAML Post with C#.

Solution 2

We had really good success with the OpenSource library that KentorIT has produced. They give you all the tools you would need to roll your own. Including a stub identity provider that we were able to use as a test & basic auth services.

Share:
30,030
sheikhjabootie
Author by

sheikhjabootie

I love creating and applying technology to enrich people’s lives. Professionally I have done this repeatedly start-ups and businesses of all sizes in many industries for many years; personally, I’m driven to help my own kids, and others, realise that they can make anything they want in life. Core focuses of interest currently include: new product development, public cloud adoption, cultural transformation and business agility through technology, and technical leadership. I'd be excited to connect with anyone else who wants to make the world better with technology.

Updated on January 30, 2020

Comments

  • sheikhjabootie
    sheikhjabootie over 4 years

    I'd like to use SAML to allow authenticated users of a website to login to other federated sites. In single sign-on parlance, that means my site needs to become an Identity Provider.

    Can anyone point me to sample .NET code or documentation for implementing this?