Questions tagged [itfoxtec-identity-saml2]

Support SAML-P for both Identity Provider (IdP) and Relying Party (RP) in ASP.NET MVC and ASP.NET MVC Core.

ITfoxtec Identity SAML 2.0 is a open source package adding SAML-P support for both IdP and RP on top of the SAML 2.0 functionality implemented in the .NET.

ASP.NET MVC and ASP.NET MVC Core is supported by the ITfoxtec Identity SAML 2.0 MVC and MVC Core packages, which helps to integrate the ITfoxtec SAML 2.0 package into a MVC og MCV Core application.

252 questions
2
votes
1 answer

How to create a IdP with ITfoxtec

i am interested to create a IdP (Identity Provider) with SAML. It´s possible to create a full IdP funcionalities with ITfoxtec Nuget? Have any example with ASP.Net, c#?
Tomas.R
  • 21
  • 1
2
votes
1 answer

Create IT-system for a private company in NemLog-in

Is it only possible to create public IT-systems in NemLog-in or not? I'm using the ITfoxtec Identity Saml 2.0 component. It looks like the ITfoxtec SAML 2.0 sample is configured with an IT-system for a private company.
Anders Revsgaard
  • 3,636
  • 1
  • 9
  • 25
2
votes
1 answer

ITfoxtec - ADFS SAML2 The remote certificate is invalid according to the validation procedure

I am new to SAML2 authentication and have tried using ITfoxtec. Im getting this error when i run my app AuthenticationException: The remote certificate is invalid according to the validation…
Page F.P.T
  • 653
  • 4
  • 11
  • 24
2
votes
2 answers

ITfoxtec SAML 2.0: InvalidSignatureException When Configuring AWS SSO

I have a small test app that I have successfully integrated with Okta as the IdP. I have also set up AWS SSO to serve as an IdP. When I switch my app over to use AWS SSO, I get the following…
2
votes
2 answers

claims missing using ASP.net core identity and itfoxtec with okta

I implemented the sample solution using .NET, Okta and ITFOXTEC found here. Everything worked fine. I then tried to integrate this solution into our main codebase which is also using ASP.NET Identity. Once I added the identity configuration, it…
2
votes
1 answer

Which app pool & authentication to select on IIS when using itfoxtec-identity-saml2 library

I am getting error when using below line from itfoxtec-identity-saml2 library. When i am on localhost and usin iisexpress, it works with proxy server id,password & port i.e. 127.0.0.0 / port. But when i load the application on companies IIS server…
2
votes
1 answer

Url.Content not working when using under .net core 3.1 &

I am trying to follow below article for SAML implementation & i am very new to the .net core and SAML https://developer.okta.com/blog/2020/10/23/how-to-authenticate-with-saml-in-aspnet-core-and-csharp When added code into AuthController.cs , i am…
Girish G
  • 93
  • 7
2
votes
0 answers

Why is there an error parsing the returned XML signature?

Ensure that the SecurityTokenResolver is populated with the required key. ID4037: The key needed to verify the signature could not be resolved from the following security key identifier 'SecurityKeyIdentifier ( IsReadOnly = False, Count =…
Prandin
  • 21
  • 1
2
votes
1 answer

InvalidSaml2BindingException: Not HTTP GET Method

I am using ITfoxtec.Identity.Saml2.MvcCore 4.0.7 with TestWebAppCore and TestIdPCore from GitHub ITfoxtec. When I run this sample from Visual Studio I am not getting any errors and everything works fine. But when I deploy these samples to IIS 10 on…
E. Kroes
  • 21
  • 1
2
votes
1 answer

How to implement single logout using http-redirect

I am using the library ITfoxtec Identity SAML 2.0 to implement SAML 2.0 with an ASP.Net 4.6 MVC App and a 3rd party IdP that only supports http-redirect single logout. I am able to login, but I can't get the single logout to work. The sample only…
Tonybot
  • 23
  • 1
  • 3
2
votes
2 answers

ITfoxtec.Identity.Saml2.Saml2RequestException: 'There is not exactly one Assertion element.'

Good day, We used ITfoxtec library version 1.2.2. This solution worked correctly. We are now integrating the version 4.0.5 library. We need to use SHA-256 encoding. We used the 4.0.5 library from Nugets. According to the implementation example…
2
votes
1 answer

Null : Object reference during AssertionConsumerService => saml2AuthnResponse.CreateSession

I'm running ITFoxtec.Identity.Saml2.Mvc (v4.5.0) in MVC.NET (4.7.2 framework). And my IdP says successfully authenticated... redirecting back... But when I get my response back from the IdP - I'm getting a null exception buried in this call. …
m1m1k
  • 1,375
  • 13
  • 14
2
votes
1 answer

SAML Service Provider redirects to IDP login page

I'm trying to build an IdP using ITfoxtec. From the Service Provider's site, it will generate SAML requests and redirects them to the IdP. Now I'm on an IdP's login page, but I'm trying to understand how the ITfoxtec codes work. [Route("Login")] …
bbusdriver
  • 1,577
  • 3
  • 26
  • 58
2
votes
1 answer

Case sensitive urls, has to be exact as specified in SP metadata

I'm using itfoxtec-identity-saml2 for autentication on a .net core 2.2 site. It all works great but for one thing, the URL of the site is case sensitive and has to be exactly as it is specified in the metadata of the SP. If it isn't this is what…
Faronson
  • 31
  • 2
2
votes
1 answer

Multiple certificates for Issuer ITfoxtec.Identity.Saml2

As context: I am trying to implement SAML2.0 authentication using ITfoxtec.Identity.Saml2 library. I want to use multiple certificates for one Service Provider, because different clients could login to Service Provider and each of them can have its…
1 2
3
16 17