Web Connection
2FA with WW UserSecurity integration
Gravatar is a globally recognized avatar based on your email address. 2FA with WW UserSecurity integration
  Richard Kaye
  All
  Jul 24, 2026 @ 02:21am

Hi Rick,

I'm finally starting on implementing 2FA in my WWC app using your post from 2023 as a guideline.

Implementing-TwoFactor-Auth-using-an-Authenticator-app-in-ASPNET

I've gotten a good start on the VFP side of things, and am pivoting to your comment, "We can use the same tools with Web Connection via wwDotnetBridge (ie. the GoogleAuthenticator library)" from this thread - Two Factor Authentication and MFA

In the process I've pulled the solution for the GoogleAuthenticator project referenced in that post, and gone down the rabbit hole of VS building. It's raising all sorts of warnings about out of date versions of .Net, old target, security vulnerabilities, etc. So before I dive too deeply into this I was wondering if you would still recommend using this particular library, as well as following the well-laid out approach from the above-referenced post.

TIA

Gravatar is a globally recognized avatar based on your email address. re: 2FA with WW UserSecurity integration
  Rick Strahl
  Richard Kaye
  Jul 24, 2026 @ 11:48am

Yes I'm using it in my store, but I'm also using .NET Core (ie. newer versions perhaps).

I don't recall offhand what the dependencies are for the .NET Framework version - if I remember right it required .NET runtime libraries (ie. not just a single DLL) alongside the main dll.

The most useful information you're going to find on checking this out with FoxPro is likely going to be this post:

Specifically the part about using dotnet build and adding the NuGet package reference and then pulling out all the dependencies for the net472 build from the bin\Release folder.

I also like to test things in .NET first. You can use a test project or use LinqPad which is a great way to quickly play around with .NET code interactively.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: 2FA with WW UserSecurity integration
  Richard Kaye
  Rick Strahl
  Jul 28, 2026 @ 10:54am

Thanks. I've had the post on my reading list for a while so having a concrete use case in mind will help motivate me. 😃

As always, my inner proof reader is easily triggered.

I'm not quite sure this sentence is fully expressing what you intended to say.

There are a number of ways to create a new project, but due to the fact that recent versions of Visual Studio and the dotnet new CLI don't include templates for new .NET Framework (net4.x) projects.

Gravatar is a globally recognized avatar based on your email address. re: 2FA with WW UserSecurity integration
  Rick Strahl
  Richard Kaye
  Jul 29, 2026 @ 09:31am

Fixed.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: 2FA with WW UserSecurity integration
  Richard Kaye
  Rick Strahl
  Aug 4, 2026 @ 05:33am

Just an fyi that between you, me, and my new friend Claude I've spun up a 2FA implementation in my WWC app.

© 1996-2026