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

Receiving a 400 erorr when being redirected back to the AssertionConsumerService

I am using the ITFoxtec SAML 2.0 .net core Nuget packages in my application. I have the test IdpCore project running and i integrated my .net core application with this Idp. The application redirects to Idp, gets the SAML response back with a status…
Praveen
  • 31
  • 1
1
vote
1 answer

Unit Testing: ITfoxtec.Identity.Saml2.Cryptography.InvalidSignatureException : Signature is invalid

I have separated the SAML authentication into an ExternalAuthenticationService layer (called from the controller) for easier unit testing: Controller [Route("samlConsume")] public async Task AssertionConsumerAsync() { var…
Scott Baker
  • 10,013
  • 17
  • 56
  • 102
1
vote
1 answer

How do I figure out what my SAML error is being caused by?

I am slowly building a .net core service provider web app using a SAML library called itfoxtec-identity-saml2 I have progressed to the point where I actually can connect to the IdP, but I am getting an error from the IdP that simple says, "Unable to…
1
vote
1 answer

Error using ITfoxtec Identity SAML 2.0 in the Login Route of the Auth Controller

I'm getting a "System.ArgumentNullException: 'Value cannot be null. Parameter name: uriString'" Exception when initializing a new Saml2AuthnRequest object in the Login method of my Auth Controller. Here is where I initialize the Saml2Configuration…
1
vote
1 answer

Error 500 on log out? saml2 itfoxtec-identity-saml2, Okta_SAML_Example

I am testing a project Okta_SAML_Example by nickgamb here: https://github.com/nickgamb/Okta_SAML_Example/tree/master/Pages I know that it is using the ITfoxtec Identity SAML 2.0 package to implement SAML. I have intergrated the app with ADFS.…
1
vote
1 answer

Why is my service provider web app throwing this error when I click the login button?

I am building a .Net Core Web App that will be a service provider and use SSO to sign in users via an Identity Provider. When I load the web app, and click Login...I get errors.... I have the following in my appsettings.json file: "Saml2": { …
SkyeBoniwell
  • 6,345
  • 12
  • 81
  • 185
1
vote
1 answer

I am trying to use ITfoxtec to send metadata to the IdP but I get an obscure error

I am using ITfoxtec SAML library in a .Net Core web app that will be a service provider and it will be connecting to a SAML identity provider to initiate single-sign on. I am trying to setup my SP metadata that the IdP needs. Whenever I run the web…
SkyeBoniwell
  • 6,345
  • 12
  • 81
  • 185
1
vote
1 answer

SP Initiated SingleLogout throws "HTTP Form does not contain SAMLRequest"

I'm using the latest ITFoxTec nuget package and have implemented the endpoints as your example on the website shows. Our customer is requiring us to trigger the singlelogout from our portal instead of the regular logout endpoint that works just…
1
vote
1 answer

How can I get the full URLs for my SSO service provider end points?

I am trying to use https://www.samltool.com/sp_metadata.php to generate metadata manually. The form needs this: Attribute Consume Service Endpoint (HTTP-POST) But when I start my app, and step through it and get to the AuthController.cs I put a…
SkyeBoniwell
  • 6,345
  • 12
  • 81
  • 185
1
vote
1 answer

How do I generate metadata for SAML 2?

I have a .Net Core service provider web app using the ITfoxtec Identity SAML 2.0 library. I think I have it 90% working, but I am really very confused about the metadata. Like where do I get it, or how do I generate it. So I get this…
SkyeBoniwell
  • 6,345
  • 12
  • 81
  • 185
1
vote
3 answers

OKTA: getting Invalid X509 certificate chain when Unbind with itfoxtec

I am using OKTA as IDP. I am getting error on the picture Azure AD: getting Invalid X509 certificate chain when Unbind with itfoxtec I found this article and I have the same issue, but my IDP is OKTA. How can I obtain the root certificate for…
1
vote
1 answer

Should Artifact Binding resolution support signature validation at the Assertion element level?

I'm having an issue where an IDP that is using Artifact Binding is signing their ArtifactResponse at the Assertion element level instead of signing the ArtifactResponse/document as a whole. This seems to be supported using other methods, but not…
Joshua K.
  • 21
  • 3
1
vote
2 answers

How to refresh ITFoxtec SAML session in the background of React App with .NET webapi

I have a react frontend app with a .NET 6 Web API which is using ITFoxtec SAML library. The authentication flow is as follows: Calls from ClientApp to API (which include the SAML token using CORS) are successful for the duration of the initial 15…
Paul
  • 25
  • 4
1
vote
1 answer

Using the ITFoxtec library, implementing the switch account functionality with Azure AD and SAML

I am working on an integration with Azure AD, using SAML and the ITfoxtec.Identity.Saml2 library. The basic login/logout functionality is working OK. However, logging into the Azure AD only shows the account selection if the user is already logged…
1
vote
1 answer

itfoxtec-identity-saml2 , can I set the encryption algorithm while encrypt assertion?

need to know how to set encryption algorithm like what we do for signing saml response I had looked at the configuration object, but it seems nothing related to the encryption algorithm.