# How do I integrate Auth0 MFA into a .net Winforms/SQL desktop application?

**URL:** <https://community.auth0.com/t/how-do-i-integrate-auth0-mfa-into-a-net-winforms-sql-desktop-application/87163>\
**Category:** Dev to Dev Hub\
**Created:** [July 19, 2022, 12:07am UTC](https://community.auth0.com/t/how-do-i-integrate-auth0-mfa-into-a-net-winforms-sql-desktop-application/87163 "2022-07-19T00:07:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jxbma](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jxbma/32/38558_2.png) [@jxbma](https://community.auth0.com/u/jxbma)\
**Post date:** [July 19, 2022, 12:07am UTC](https://community.auth0.com/t/how-do-i-integrate-auth0-mfa-into-a-net-winforms-sql-desktop-application/87163/1 "2022-07-19T00:07:13Z")

</div>

Hi:

New to Auth0/Okta here.

We have a .Net Winforms application which is supported by a backend SQL DB (either Azure or on prem hosted). Currently we have a simple username/pwd login scheme which authenticates against a user table in the above mentioned DB.

Customers have been requesting that we additionally secure our log in process by adding MFA.  
I have looked at a couple of WInforms/WPF examples that I found online. It’s not clear to me how this would fit into our current login/authentication scheme.

Can someone perhaps get me pointed in the right direction with some examples/advice that would be suited to our requirements?

Thanks,  
JohnB

---

<div class="post-metadata">

**Author:** ![remus.ivan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/remus.ivan/32/68771_2.png) [@remus.ivan](https://community.auth0.com/u/remus.ivan)\
**Post date:** [January 31, 2025, 4:15pm UTC](https://community.auth0.com/t/how-do-i-integrate-auth0-mfa-into-a-net-winforms-sql-desktop-application/87163/4 "2025-01-31T16:15:12Z")

</div>

Hi @jxbma,

Welcome to the Auth0 Community and sorry for the late reply.

Firstly in order to integrate your project within Auth0 you can follow the [WinForms SDK](https://auth0.com/docs/quickstart/native/wpf-winforms/interactive) that provides step by step documentation on how to initiate the login process. You can enable the **custom database** option so you can authenticate users from your existing user store by following this [documentation](https://auth0.com/docs/authenticate/database-connections/custom-db/create-db-connection).

Afterwards the easiest option in order to enable [Multi-Factor Authentication](https://auth0.com/docs/secure/multi-factor-authentication/enable-mfa) would be using the **Auth0 Dashboard**.

Thank you for your post.  
Best regards,  
Remus

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 14, 2025, 4:15pm UTC](https://community.auth0.com/t/how-do-i-integrate-auth0-mfa-into-a-net-winforms-sql-desktop-application/87163/5 "2025-02-14T16:15:57Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![remus.ivan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/remus.ivan/32/68771_2.png) [@remus.ivan](https://community.auth0.com/u/remus.ivan)\
**Post date:** [September 5, 2025, 8:35pm UTC](https://community.auth0.com/t/how-do-i-integrate-auth0-mfa-into-a-net-winforms-sql-desktop-application/87163/6 "2025-09-05T20:35:05Z")

</div>


