WebauthN c++ Native Windows API in credential provider

VIGNESH M 5 Reputation points
2024-02-19T11:39:47.02+00:00

Hi team, I've made a simple console application that calls Windows WebAuthn API's WebAuthNAuthenticatorGetAssertion() which will display CredentialUIBroker.exe to authenticate with an external FIDO2 security key and platform Windows authenticator (Windows Hello).

I'm trying to integrate that application with my Custom Credential Provide. However, the UI does not show up on the login page. There are some discussions claiming that we could not use Windows WebAuthn API in Credential Provider.

Is there any limitation for using a Windows webauthn API in Credential Provider?  

It will be unfortunate if we could not use Windows WebAuthn API in Credential Provider since it provides a simple way to operate with FIDO-compatible devices.

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,469 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,584 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Jeanine Zhang-MSFT 9,346 Reputation points Microsoft Vendor
    2024-02-20T02:42:44.0966667+00:00

    Hello,

    Welcome to Microsoft Q&A!

    As far as I'm concerned, you couldn't use the WebAuthn API in a custom credential provider. And you could refer to the thread:https://stackoverflow.com/questions/76577701/calling-windows-webauthn-api-in-custom-credential-providers

    If you want to use Windows WebAuthn API in Credential Provider, you could post the fether request in the Feedback Hub.

    Thank you.

    Jeanine


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.