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
1
vote
2 answers

ERR_HTTP2_PROTOCOL_ERROR after authentication is done

I'm trying to use ITfoxtec.Identity.Saml2.MvcCore on a .NET Core 3.1 web application using an in-house IdP. It works great on our test server (Windows Server 2012, hosted in the IIS) but I can't get it to work on any other server. This is what…
Faronson
  • 31
  • 2
1
vote
1 answer

Error: 'There is not exactly one Assertion' Using ITfoxtech Saml2

I am using Itfoxtech SAML 2.0 with .net core. But I am getting error 'There is not exactly one Assertion'. Does Itfoxtech with with Oracle Access Manager? Can you give me clarity about the signing and certifications. Do I need to use certificate to…
1
vote
1 answer

How To Implement IdP Initated SAML for WebForms and Database Authentication

For the first time I've been tasked with implementing SSO. I'll be implementing as an IdP from my customer facing app (aka CustomerApp) to my parent company's service application (aka ParentApp). CustomerApp User will access the ParentApp by…
Jamba
  • 13
  • 3
1
vote
1 answer

Integration with ForgeRock

ForgeRock always returns HTTP 500 error for SSO. I am using itfoxtec-identity-saml2 for the binding (redirect) in my asp.net core application as my IDP for forgeRock and following steps mentioned in the github This is the SAML Auth Request sent…
Kris R
  • 13
  • 3
1
vote
1 answer

PEM_read_bio_PUBKEY failed while sending signed SAMLRequest to Auth0

I'm trying to sign the (ITfoxtec Identity SAML2) SAMLRequests and testing with Auth0 and I'm getting the following error on the Auth0 side: invalid_request: PEM_read_bio_PUBKEY failed I filled the public key in their config. { …
dyesdyes
  • 1,147
  • 3
  • 24
  • 39
1
vote
1 answer

In the saml2 request missing parameters SigAlg and Signature

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…
1
vote
1 answer

No keys present in RelayStateQuery

In ITfoxtec SAML 2.0 implementation, Saml2PostBinding object has SetRelayStateQuery() and GetRelayStateQuery() methods to set and get data from dictionary. Sometimes, GetRelayStateQuery() returns Empty dictionary even though I have set values using…
shrey shah
  • 43
  • 5
1
vote
1 answer

Why ITfoxtec enforcing the logout request to be signed?

We are using the ITfoxtec.Identity.SAML2 library. Recently i encountered one problem and problem is that this library enforcing the logout request to be signed. See below code. documentValidationResult set to NotPresent. still I am getting signaure…
Dalip Choudhary
  • 546
  • 5
  • 18
1
vote
1 answer

Logout throw certificate invalid signature

I see there are 3 methods for logout. And the order they are called is below. I need to understand how is logout and singlelogout different because entire code of logout is repeated again in SingleLogout. \ logout singlelogout loggedout The problem…
Jack Sp
  • 376
  • 3
  • 10
1
vote
1 answer

Is configuration on the IdP end required to make the SigningCertificateFile.pfx work?

I'm signing my SAML requests like this: private static void ConfigureSigningCert(this Saml2Configuration saml2Configuration, IAppSettings appSettings, IHostingEnvironment environment) { var certPath = Path.Combine(environment.ContentRootPath,…
tkit
  • 8,082
  • 6
  • 40
  • 71
1
vote
1 answer

SAML authentication with client certificate but without user interaction using ITfoxtec.Identity.Saml2

I need to call a SOAP webservice using SAML authentication. They expect the saml token as part of the SOAP request(This should not be a problem). The actual authentication on the IDP must be done using a client certificate (private key), but…
Manuel
  • 1,985
  • 3
  • 31
  • 51
1
vote
1 answer

SAML binding: Error getting X509Certificate2.PrivateKey on Azure

The ITFoxtec Identity SAML 2.0 library contains a function to bind the request that extracts private key from signing certificate. if(certificate is Saml2X509Certificate) { return (certificate as…
1
vote
2 answers

Getting 400 from samltest.id when attempting SP-initiated worflow

I have used itfoxtec's SAML2 library to implement an SP in my ASP.NET MVC app. I am testing using samltest.id as the IdP. The IdP-initiated workflow works perfectly, but the SP-initiated workflow always gets a 400 error back from samltest.id. I have…
Adam Crossland
  • 14,198
  • 3
  • 44
  • 54
1
vote
1 answer

Nuget ITfoxtec SAML & Angular

I have a problem with the functionality described in the nuget's example and my case in particular with core and angular. I have a front with angular4 and all requests go through there. With which I redirect to the Idp form and he calls me again to…
user12833648
1
vote
1 answer

Token gets expired and keeps going to IDP every a few seconds

Is there a way I can force it to use cookie or modify the timeout span. It keeps going to the IDP every a few clicks or if the session was ideal for less than 3 seconds.