user6262880
user6262880

Reputation:

Is there any way to show a credential dialog integrate with Windows Hello?

I mean, something like this (it was used at Control Panel > Credential Manager):

Please verify your credentials to view the stored passwords

I have tried some APIs:

  1. CredUIPromptForWindowsCredentials and CredentialPicker.PickAsync: It seems good, but there's no fingerprint/PIN options.
  2. UserConsentVerifier.RequestVerificationAsync: It seems good, but there's only fingerprint option.

I need to show both user/password and fingerprint/pin options. Is there any API or Options to show them?

Thanks:)

Upvotes: 3

Views: 554

Answers (1)

Fredrik Orderud
Fredrik Orderud

Reputation: 309

CredUIPromptForWindowsCredentials will often include Windows Hello and PIN code as authentication alternatives if passing dwFlags=CREDUIWIN_ENUMERATE_CURRENT_USER as done in the Chromium sources. I've verified this on a "vanilla" Windows 10 21H2 computer.

However, this is not always the case. There seem to be some sort of system policy preventing Windows Hello, PIN code and other authentication provides from showing up on certain (or possibly all) domain-joined computers.

Upvotes: 0

Related Questions