Incorporate WebForms Application with Azure AD for SAML based SSO authentication - itfoxtec-identity-saml2

I am trying to incorporate ITFoxtec SAML with my webforms applications and Azure AD for SAML based SSO authentication. Can anyone please provide me any reference link or guide me regarding this to work?
Target Framework: .NET Framework 4.8(Web forms)
I have gone through the samples given in the github repo but still unable to proceed further.https://github.com/ITfoxtec/ITfoxtec.Identity.Saml2

I'm afraid that there is not a .NET WebForms sample but it is possible to implement ITfoxtec Identity SAML 2.0 in a .NET WebForms application.
Please se the following links:
ITfoxtec SAML 2.0 and .NET ASPX application (not MVC)
itfoxtec-identity-saml2 .net framework 4.6 web forms guidance
ITfoxtec SAML 2.0 and ASP.NET Web Forms (ASPX) HttpRequest
Alternatively, you can connect to Azure AD using OpenID Connect or use FoxIDs as an security broker to concert between the Azure AD SAML 2.0 connection and your application using OpenID Connect.

Related

Azure Saml toolkit integration with Azure web app

I am trying to implement Azure saml sso with my angular web app.
I have deployed angular web app in azure and created a enterprise application(Azure saml toolkit).
I have assigned users in first step.
I couldn't find useful links or steps to configure Azure saml toolkit and not sure how to specify
Sign-in url,Assertion url and redirect url for my site in toolkit.
Any help is appreciated.
Did you see the instructions here?
All the details are in the SAML configuration pages when configuring SSO for the enterprise application.

AngularJS with ASP.NET Web API and Azure AD Single SignOn using msal

I have an asp.net web api and angularjs(1.4.x) app and planning to use Azure AD for authentication and single sign on feature. Most of the examples are using ADAL, which is deprecated as per Microsoft. Can anyone share some examples of what changes need to be done in Web api and AngularJS app?
Migrate ADAL.js to MSAL.js for Azure AD Authentication for AngularJS+ASP.NET Core application.
You could try #azure/msal-angularjs for AngularJS SPA
When migrating ADAL.js to MSAL.js, you need to use #azure/msal-angular that is based on Microsoft identity platform v2.0.
Below is the example using MSAL Angular and call a .NET Core web API.
Example : https://github.com/Azure-Samples/ms-identity-javascript-angular-tutorial/tree/main/3-Authorization-II/1-call-api
Reference Guide Based on SO Thread: https://learn.microsoft.com/en-us/azure/active-directory/develop/msal-compare-msal-js-and-adal-js
https://learn.microsoft.com/en-us/azure/active-directory/develop/msal-net-migration

Can I use Salesforce Community Cloud as an Identity Provider for SAML SSO into my Application?

Our SaaS application supports SAML SSO as a service provider. As such we can use Salesforce as the Identity Provider, and either have a link to our application or a webtab displaying our application in Salesforce.
Some customers have Salesforce Community Cloud, and they want to have SSO set up for their community into our application. Can Salesforce Community Cloud act as a SAML Identity Provider for out application?

ITfoxtec Idp-initiated SSO to SP

I am currently implementing a .NET Framework IdP using ITfoxtec Identity SAML 2.0.
I understand that the AuthController Login API endpoint in the TestIdPCore test project receives a SSO request from the SP for SP-initated SSO.
However, I don't understand how to do a IdP-initiated SSO. Any help would be much appreciated.
You can find the .NET Framework IdP-Initiated SSO sample in the TestWebApp https://github.com/ITfoxtec/ITfoxtec.Identity.Saml2/blob/master/test/TestWebApp/Controllers/IdPInitiatedController.cs
The sample show an SP acting as an IdP.

Can I use ITfoxtec saml2 to add a SAML identity provider to a non-Core website?

I have an OIDC identity provider I want to extend to be a SAML2 identity provider, but it is not a .NET Core site. The test/samples only show how to configure a core app.
Is it possible to use it to make an identity provider for a non-core site?
The ITfoxtec Identity SAML2 component both support implementing a identity provider (IdP) on .NET core and .NET Framework.
Yes, there is only a .NET Core sample TestIdPCore showing how to implement an IdP. But I think you relatively easy can port the sample code to .NET Framework by looking at the .NET Framework sample TestWebApp.

Resources