.net and SAML 2.0

Our university has switched to SAML authentication / authorization using Shibboleth.

I have been studying for at least one day on how to use SAML with .net web applications. I cannot use Identity server 4 because it is for OaTH / Open ID. I found msdn documentation that points to a commercial implementation. I came up with this answer https://stackoverflow.com/a/16626838/2649229 from a year ago, saying that Kentor might support it in the future, but could not find anything on the github page about .net kernel support or .net core sample web app. As of January, it was still planned, but there was no date.

The university has an identity provider. I do not understand the following:

  • How do I configure a web application to use this identity provider?
  • How to check if this identifier has already been authenticated for another application, why does SSO use it?

Any sample applications that use SAML without commercial plugins will also be welcome.

+5
source share
2 answers

ITfoxtec has an ASP.NET MVC Core 1.0 SAML2 plugin, but it requires the .NET Full Framework and will not work on Linux. There are some missing APIs that prevent full support for .NET Core right now for SAML2 (around the Crypto XML namespace). https://github.com/ITfoxtec/ITfoxtec.Identity.Saml2

, , , , , ,.NET Standard 2.0, , , API .NET Core.

+2

ITfoxtec Identity Saml2 .NET Core 2.1 ( .NET Framework) 3.0.0. : https://itfoxtec.com/IdentitySaml2

ITfoxtec Identity Saml2 MVC Core ASP.NET MVC Core 2.1. NuGet: https://www.nuget.org/packages/ITfoxtec.Identity.Saml2.MvcCore/

0

Source: https://habr.com/ru/post/1669104/


All Articles