Questions tagged [sustainsys-saml2]

Sustainsys.Saml2 is a .NET library for SAML2 protocol support, adding SAML2 Service Provider functionality to ASP.NET applications. The library was previously named Kentor.AuthServices

The Sustainsys.Saml2 library (formerly named Kentor.AuthServices) is an open source library that adds SAML2 service provider functionality to .NET for various ASP.NET programming models (Http Module, Mvc, Owin, ASP.NET Core)

The project source and documentation is available in the GitHub repo.

An instance of the Stub Idp of the package (an Idp that can be used for testing) is available at https://stubidp.sustainsys.com.

197 questions
18
votes
1 answer

Identity server 4 with SAML 2.0 as external identity provider for SSO

I am using identity server 4 for authentication to my ASP.Net Core solution. And it is working well with Facebook, Google and other external identity provider. And now I am trying to add SAML 2.0 authentication to the identity server using…
14
votes
3 answers

SecurityTokenInvalidAudienceException: IDX10214: Audience validation failed

I'm developing an ASP.NET Core 2 app using Identity and Sustainsys.Saml2 (for SAML auth). I've made the necessary configurations in the Startup.cs file. Now when I run the project and try to login using the SAML2 (as an external login), I get the…
OnlyOneEA
  • 193
  • 1
  • 1
  • 9
10
votes
2 answers

Sustainsys SAML2 Sample for ASP.NET Core WebAPI without Identity

Does anyone have a working sample for Sustainsys Saml2 library for ASP.NET Core WebAPI only project (no Mvc) and what's more important without ASP Identity? The sample provided on github strongly relies on MVC and SignInManager which I do not need…
10
votes
3 answers

After logging in 'User.Identity.Name' is null, but 'IsAuthenticated' is true when using Sustainsys.Saml2.Mvc integration

I have an ASP.NET MVC 5 application, and need to support SAML 2.0 authentication. I am evaluating Sustainsys.Saml.Mvc. The User.Identity.Name property in my controller is an empty string, while the User.Identity.IsAuthenticated property is true, and…
Greg Burghardt
  • 17,900
  • 9
  • 49
  • 92
8
votes
1 answer

What is URL for sustainsys.saml2 generated metadata?

Im using the sustainsys.saml2 library in an MVC application. Ive been asked to provide the metadata for my service provider(SP) application. Does the sustainsys library do this for me? What is the URL i would give the IDP for my application…
tsiorn
  • 2,236
  • 1
  • 22
  • 26
7
votes
1 answer

SustainSys.Saml2 on ASP.NET Core 2 - GetExternalLoginInfoAsync() returns null

I'm integrating SustainSys.Saml2, with Gluu server as my IdP. I'm using the scaffolded Identity pages out of the box. When I run in localhost, and I view the console log everything seems to work with the SAML communication, and I even see a couple…
David
  • 2,782
  • 4
  • 31
  • 47
5
votes
2 answers

Sustainsys.SAML2 with a multitenant application

I am working on a Blazor application that is a multitenant app. I am using the Sustainsys.Saml2.AspNetCore2 package. I have a test Blazor application working that can authorize against the test https://stubidp.sustainsys.com IdP or a test OKTA IdP…
mjorrens
  • 131
  • 5
5
votes
0 answers

How to fix "An unhandled exception occurred while processing the request."?

As we're developing a webapp which we want to authorize against a Shibboleth IDP we're getting the following error, after what seems like a successfull login at the IDPP: An unhandled exception occurred while processing the…
evil_kanivel
  • 51
  • 1
  • 4
5
votes
1 answer

Sustainsys Saml2 Handler AuthenticateAsync() method operation is not implemented

I'm trying a simple implementation in my Asp net Core application of Saml2 to integrate with an Ad FS server. I can't figure why I am getting this error. I downloaded the samples from the gitHub and tried to adapt it in my…
Arturio
  • 418
  • 1
  • 7
  • 25
5
votes
1 answer

Federate .NET MVC application with SAML using Sustainsys / Saml2

Currently windows authentication is being used by our web app. We need to integrate this to an existing single sign on with SAML. I am looking with Sustainsys / Saml2 to integrate our web app with SAML. Our site homepage url is this: …
jomsk1e
  • 3,585
  • 7
  • 34
  • 59
4
votes
1 answer

Change Sustainsys.Saml2 HttpModule Configuration Programmatically

I have a legacy Web Forms ASP.Net project where I just successfully integrated Sustainsys.Saml2. I was wondering how can Make configuration changes programmatically. For example: in the webconfig, I define my (the SP) metadata url. However, because…
RoLYroLLs
  • 3,113
  • 4
  • 38
  • 57
4
votes
1 answer

How to use Sustainsys.Saml2.AspNetCore2 in existing net core app?

I'm trying to use Sustainsys.Saml2 and Sustainsys.Saml2.AspNetCore2 library provided by this saml2 library to implement both IDP initiated and SP initiated scenarios. After referring sample appliation things I did so far: 1. Refer latest…
Ami
  • 63
  • 1
  • 7
3
votes
1 answer

ASP.Net Identity with SAML Integration

We have an existing MVC app using the ASP.Net Identity Framework to store user logins/passwords/roles/etc... in a local SQL database. We would like to move the authentication portion of the identity to use a SAML IdP but still build out the…
3
votes
1 answer

SAML integration with ASP.NET Core Identity

Our service provider asked for the following information for the SAML integration. Identity Provider ID (e.g. http://myadfs.domain.com/adfs/services/trust) XML Meta Data (e.g.…
3
votes
1 answer

SustainSys.Saml2 Request length header too long

When the Saml2/acs endpoint gets called from the idp the set-cookie header is massive and it keeps resulting in: Bad Request - Request Too Long HTTP Error 400. The size of the request headers is too long. Cookies on sample site after ACS endpoint…
1
2 3
13 14