Credential Provider V2 : Handle Password Expired, with Windows Hello

Maverick 0 Reputation points
2023-04-03T12:27:22.5+00:00

We have an working Custom Credential Provider.

Based on the below sample code.

https://github.com/alexyack/CredentialProviders/tree/master/V2%20Credential%20Provider%20Sample/C%2B%2B

But we face the below issue, when we change the Active Directory User Password.

Below are the steps

  • Setup Windows Hello Pin for the user
  • Change the Active Directory User Password
  • On Windows Logon Click on "Pin"
  • Enter the valid Pin
  • It throws an error

" Your password was changed on a different device. You must sign into this device once with your new password, and then you can sign in again"

  • We logged in using "Password" option of our Custom Credential Provider Then again logged off, and tried with pin, but still the same error.

Note:

This behaviour is not observed with Windows Password Provider

Tried using WinBioGetCredentialState().

But it always gives us " WINBIO_CREDENTIAL_NOT_SET".

Any suggestions

We are expecting it to work without errors, when using PIN.

Developer technologies | C++
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.