IdentityServer4 for .NET Framework 4.5 and OAuth 1.0? - .net-4.5

I would like to know if IdentityServer4 can be used for .NET Framework 4.5 and OAuth 1.0?

No yo OAuth 1.0 but yes to be able to consume IDS4 from regular old .Net

Related

Can Duende IdentityServer v6 be used in a .Net Framework Application?

We are reviewing our our applications which use IdentityServer now it has rebranded to Duende become a subscription model and have come across a forgotten application which consists of a number of .Net Framework projects, one of which references the dll's IdentityServer3 and IdentityServer3.WsFederation.
If we want to be using a supportable we need to upgrade to IdentityServer v6 but given that this is a .Net 6 application, the only route I can see to this is to upgrade all the projects in the solution to be .Net 6 also.
Is there a supported .Net Framework compatible version of IdentityServer?
If not is there a trick I am missing which means I don't have to upgrade the entire solution to .Net Core and maybe limit it to just the one project that references these two dll's?
Thanks in advance

How to create a custom SSO Member Login in Umbraco v8 (ADFS - No Azure) using "itfoxtec-identity-saml2" Project?

I'm new with sso login (ADSF - SAML2) with Umbraco v8 and I need some help to know if this is the right package for me.
I'm working on a website using Umbraco CMS v8 and I need to create a custom members login (frontend) using the sso authentication of my company (ADFS - no Azure AD) and my custom login form (C# and .Net Framework 4.7.2+).
I found on NuGet the "itfoxtec-identity-saml2" package that can be used to do it and I saw that there are two packages that could help me: "ITfoxtec.Identity.Saml2" and "ITfoxtec.Identity.Saml2.Mvc"
What are the difference and what reccomand to use?
Any other suggestions to create an SSO Members Login in Umbraco v8, is welcome.
Thank you and I look forward to your reply
Adriano
The ITfoxtec.Identity.Saml2 is the base component implementing the actually SAML 2.0 standard.
The ITfoxtec.Identity.Saml2.Mvc and ITfoxtec.Identity.Saml2.MvcCore implements the elements needed to integration with ASP.NET MVC. The ITfoxtec.Identity.Saml2.Mvc component is for .NET Framework and the ITfoxtec.Identity.Saml2.MvcCore component is for .NET Core and .NET 5.0.
I'm afraid that i do not know anything about Umbraco, sorry I cannot help you there.

ADFS 3.0 works with WS-Federation but fails with SAML

We use ADFS 3.0 (Windows 2012 R2) server to access an ASP.NET browser (.NET 4.5) application, which uses ClaimsPrincipal class (part of the Windows Identity Foundation library). The ADFS servers authenticates to our Active Directory. The ASP.NET application runs properly if we use WS-Federation sign-in protocol but fails if we use SAML sign-in protocol. The error message is not helpful "An error occurred"
The ASP.NET is a web form application, developed using VB.NET
My questions:
1) Does ADFS 3.0 with SAML sign in protocol work with ASP.NET web form application which uses ClaimsPrincipal class, which is part of the Windows Identity Foundation libraries?
2) What are the changes (as compared to WS-Federation) we must make to web config in the ASP.NET application, to us SAML sign in protocol?
Thank you.
Chong Chin
To get WS-Fed to work, you either will be using WIF or the WS-Fed NuGet OWIN package?
There is no Microsoft equivalent for SAML.
You need a SAML stack (in the same way that WIF provides a WS-Fed stack).

How to secure an existing Asp.Net project with ADFS

I have a big project in asp.net and I want to embed ADFS in it for authentication purpose.
Please suggest some links.
Thanks
Just to clarify:
You don't embed ADFS in an ASP.NET application. You add WIF or OWIN to the application and bind this with ADFS which sits on a Windows server. The latest version is ADFS 3.0 on Windows Server 2012 R2.
How To: Build Claims-Aware ASP.NET Web Forms Application Using WIF
WS-Federation in Microsoft OWIN Components–a quick start
OWIN is the newer technology.
And then you bind your application to ADFS.
Building a test claims-aware ASP.NET application and integrating it with ADFS 2.0 Security Token Service (STS)

Where can one download Microsoft jQuery Unobtrusive Validation without using NuGet

I'd like to download the latest version of Microsoft jQuery Unobtrusive Validation, however I don't like using NuGet since it is not possible for me to tell it where to install the packages within my project structure.
Does Microsoft host these files somewhere that I can access them directly?
The files for ASP.NET MVC 5.2 aren't (yet?) on the page I mention below, but the links are valid:
http://ajax.aspnetcdn.com/ajax/mvc/5.2/jquery.validate.unobtrusive.js
http://ajax.aspnetcdn.com/ajax/mvc/5.2/jquery.validate.unobtrusive.min.js
[Copied from Maxime's answer to this question.]
I found a page – Microsoft Ajax Content Delivery Network - ASP.NET Ajax Library – that lists several versions of the files for this that you can download.
Here are the ones I found via searching that page for "unobtrusive":
ASP.NET MVC 5.1
http://ajax.aspnetcdn.com/ajax/mvc/5.1/jquery.validate.unobtrusive.js
http://ajax.aspnetcdn.com/ajax/mvc/5.1/jquery.validate.unobtrusive.min.js
ASP.NET MVC 5.0
http://ajax.aspnetcdn.com/ajax/mvc/5.0/jquery.validate.unobtrusive.js
http://ajax.aspnetcdn.com/ajax/mvc/5.0/jquery.validate.unobtrusive.min.js
ASP.NET MVC 4.0
http://ajax.aspnetcdn.com/ajax/mvc/4.0/jquery.validate.unobtrusive.js
http://ajax.aspnetcdn.com/ajax/mvc/4.0/jquery.validate.unobtrusive.min.js
ASP.NET MVC 3.0
http://ajax.aspnetcdn.com/ajax/mvc/3.0/jquery.unobtrusive-ajax.js
http://ajax.aspnetcdn.com/ajax/mvc/3.0/jquery.unobtrusive-ajax.min.js
http://ajax.aspnetcdn.com/ajax/mvc/3.0/jquery.validate.unobtrusive.js
http://ajax.aspnetcdn.com/ajax/mvc/3.0/jquery.validate.unobtrusive.min.js
...
Here are the links :
jQuery Unobtrusive for ASP.NET MVC 5.2.3
http://ajax.aspnetcdn.com/ajax/mvc/5.2.3/jquery.validate.unobtrusive.js
http://ajax.aspnetcdn.com/ajax/mvc/5.2.3/jquery.validate.unobtrusive.min.js
jQuery Unobtrusive for ASP.NET MVC 5.2.2
http://ajax.aspnetcdn.com/ajax/mvc/5.2.2/jquery.validate.unobtrusive.js
http://ajax.aspnetcdn.com/ajax/mvc/5.2.2/jquery.validate.unobtrusive.min.js
jQuery Unobtrusive for ASP.NET MVC 5.2
http://ajax.aspnetcdn.com/ajax/mvc/5.2/jquery.validate.unobtrusive.js
http://ajax.aspnetcdn.com/ajax/mvc/5.2/jquery.validate.unobtrusive.min.js
And by using these files, you will also need to include jquery.validate(.min).js. The latest files can be found :
jQuery Validate
http://www.asp.net/ajax/cdn#jQuery_Validation_Releases_on_the_CDN_3
or
http://jqueryvalidation.org/
You can browse the Microsoft Ajax CDN for all needed librairies: http://www.asp.net/ajax/cdn
It's available/hosted by google here code.google.com