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
3
votes
1 answer

Why exists the SigningCertificateFile in ITfoxtec.Identity.Saml2

In the exemple code of MVC, is used the itfoxtec.identity.saml2.testwebapp_Certificate.pfx: https://github.com/ITfoxtec/ITfoxtec.Identity.Saml2/blob/master/test/TestWebApp/App_Data/itfoxtec.identity.saml2.testwebapp_Certificate.pfx in this…
3
votes
1 answer

how can i include System.Identity Model 4.0 in ASP.NetCore 2.1 mvc application

What is the best approach to achieve saml2.0 in ASP.NetCore2.1 MVC application? i am using Sustainsys.AspNetCore2.1Saml2 nuget, below is code. but the EntityId in it requires System.IdentityModel.dll 4.0 sounds like i am not able to run the…
2
votes
1 answer

Use a proxy for ITFoxtec SAML2 Identity access to IDP

We use the ItFoxtec library for SAML authentication to Azure Active Directory with an application written in C# and the .Net Core 6 framework. The library works very well, and we have had no problems. In production, we have to access the server for…
2
votes
1 answer

.net core 1.1 compatibility with FoxIDs SAML 2

I have a .net application which is using very old version of .net which is .net core 1.1. We have a requirement to integrate SAML2 identity provider in our organization. We can't upgrade this application to newer .net version for some reasons. I…
Rachna
  • 21
  • 1
2
votes
1 answer

What is missing from my test so I can unit test this code?

I am trying to write unit tests to cover my ExternalAuthenticationService class; I'm trying to test my RedirectToLogin method and ensure that the RelayStateQuery is populated like it should be: public IActionResult RedirectToLogin(LoginInfo…
Scott Baker
  • 10,013
  • 17
  • 56
  • 102
2
votes
1 answer

SSO and signature validation using ITfoxtec.Identity.Saml2.MvcCore 4.8.5 in .NET Core 6

I'm trying to implement single sign on using ITfoxtec.Identity.Saml2.MvcCore package. Request is successfully sent, user is redirected to identity provider's login screen and after entering correct username and password redirected back to service…
Nino
  • 6,931
  • 2
  • 27
  • 42
2
votes
1 answer

Can I send Saml2AuthnRequest without subject property? 'Subject' is not supported by Azure AD

The Saml2 Authn Request include a subject property which apparently azure does not like. Is there a way of modifying the request xml to not include the subject property or any other work around? I am getting the following error: AADSTS900236: The…
2
votes
1 answer

Why I get error while parsing SAMLresponse?

I have configurate a SAML SSO service for connection to our site. I use the same configuration with other endpoint and works fine. With this, I get always "Signature Validation error". I try to debug the ITFoxtech source code, and I found this…
Step IT
  • 21
  • 1
2
votes
1 answer

Signature is invalid when executing Unbind in AssertionConsumerService

I implement a SAML service provider that is integrated with the Danish Unilogin IDP. I follow the example: https://github.com/ITfoxtec/ITfoxtec.Identity.Saml2/tree/master/test/TestWebAppCore When the AssertionConsumerService is executed (in the…
2
votes
1 answer

Handling authentication without a cookie

Our team is using Itfoxtec as the saml2 handler in our SP as follows: A client clicks on the link of the login API. The API redirects the user to the IdP login page. On successful login, The API gets a SAML2 response to the ASC route. We fetch the…
2
votes
2 answers

How to redirect on backend for Angular application using Itfoxtec to access app through Azure Active Directory

I am new to using ITfoxtec for Azure Active Directory SAML logins. I read the StackOverflow entry for Nuget ITfoxtec SAML & Angular (and other similar entries for CORS issues), but I still do not understand how to adapt the GitHub Angular example…
RickRoryMT
  • 31
  • 2
2
votes
1 answer

Sign in an Authenticated User from External SP with SAML SSO using ITfoxtec to the managed SP

My team is tasked with implementing SSO into our web application (full .net 4.8 hosted in Azure). However, we need to rely on authentication of an external application. A bit of context. Imagine there are 2 separate companies (A and B) which have…
2
votes
1 answer

Certificate issue on LogoutResponse from Azure AD

As a Service Provider we are using the package "ITfoxtec Identity Saml2" for handling SAML2.0. We have two integrations using AzureAD as IDP. Both have an issue on handling the LogoutResponse from Azure. This exception…
Munk
  • 321
  • 2
  • 11
2
votes
1 answer

SSO - ADFS : Invalid URI: The format of the URI could not be determined

I developed a small .Net web application to access my identity provider on my ADFS. I am using ITfoxtec.Identity.Saml2 library to build my redirect link from xml metadata. So I have this…
2
votes
1 answer

ITfoxtec SAML 2.0 with NET 5.0- Set cookie name

I'm implementing an ASP.NET Core webb application using .NET 5.0. We would like to set our own cookie-name and I can't find how to achieve that. Is there any way to set your own cookie-name when using ITfoxtec SAML 2.0 with .NET 5.0?
1
2
3
16 17