Sajidur78 / CredNet

CredNet is a library for easily creating windows credential providers with .Net.
MIT License
17 stars 3 forks source link

Authentication don't work on Win10 #1

Closed alexamiryan closed 3 years ago

alexamiryan commented 3 years ago

Hello. I am trying to write custom credentials provider with your library. I see new tile on the WIndows logon screen, however authentication doesn't pass. I have verified that valid username, password and machine name are coming to CredentialSerializer.SerializeKerbInteractiveLogon function, but windows just doesn't login. I need to take a serialization, save it in my DB and then authorize the user after passing my own checks. Can you please investigate into this issue, maybe I am doing something wrong?

Sajidur78 commented 3 years ago

Could you provide an example project with the problem reproduced?

alexamiryan commented 3 years ago

Example project is a CredNet.Sample. I've added registry values, registed it for interop and it shows on login screen, but when I enter correct password, it just does nothing, it stays on the login screen.

Sajidur78 commented 3 years ago

Ah, it seems like I've made a small mistake in the library. It should be fixed soon. Thanks for the issue report!

Sajidur78 commented 3 years ago

The issue should be fixed on 3165326615fce9c81c29309dfe22d8d9928de072. I will update the nuget package if the issue is resolved on your end.

alexamiryan commented 3 years ago

Thank you very much, I will report back on Monday.

alexamiryan commented 3 years ago

It works! You can update nuget package. Thanks a lot!