How to create a multi-factor authentication (MFA) app?

Luc Duong 36 Reputation points
2020-12-29T02:57:11.957+00:00

I want use multi-factor authentication for my apps. However, I don't want to use Microsoft Authenticator app. I want to create an app desktop instead of Microsoft Authenticator to use in the authentication step.
So, do have any way for me do it?

Example: I want to create TOTP code from my app or create a button with API like button Accept in Microsoft Authenticator when have request login.

Sorry for my English not good.

Thank you for your time.

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,358 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,773 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. soumi-MSFT 11,721 Reputation points Microsoft Employee
    2020-12-29T09:49:35.483+00:00

    Hello @Luc Duong , thank you for reaching out. There is no doc available with steps for creating a TOTP authenticator app from Microsoft's side, but yes, you can try checking this out:

    https://github.com/yeojz/otplib/blob/master/README.md
    Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    This is a nodejs project using the otplib npm package.

    Hope this helps.

    Do let us know if this helps and if there are any more queries around this, please do let us know so that we can help you further. Also, please do not forget to accept the response as an Answer; if the above response helped in answering your query.

    1 person found this answer helpful.
    0 comments No comments