Ho do you set up SAML for Episerver?

Vote:
 

Could someone let us know if it is possible to set up SAML with Episerver and if so do they have any sample code.

We would like to know how to set it up as a IP and SP.

Thanks

Jon

#197298
Sep 28, 2018 10:45
Vote:
 

Is Saml 2.0 supported with Episerver?

#220995
Apr 09, 2020 22:06
Vote:
 

Hi Jonathan

Episerver does not have built-in support for SAML. But you can use SAML by adding an OWIN authentication middleware, as if it was a regular ASP.Net project. Last time I used SAML in Episerver, I used a NuGet package called Kentor.AuthServices (which is now called Sustainsys.Saml2).

But, if in any way possible, I recommend that you opt for OAuth, OpenID or WS-Federation instead.

#221046
Apr 11, 2020 5:48
Vote:
 

I can second that Sustainsys.Saml2 works fine with Epi. Combine https://swapcode.wordpress.com/2018/09/24/using-openid-connect-with-episerver/ and https://github.com/Sustainsys/Saml2/tree/v2/Sustainsys.Saml2.Owin and be sure to work with someone who knows their SAML2 IDP product.

#221253
Apr 15, 2020 20:33
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.