You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows.Security.Credentials.KeyCredentialManager.RequestCreateAsync lacks support for Win32 windows, causing the WindowsHello window to not display correctly at the top and failing to authenticate
#4290
Open
YexuanXiao opened this issue
Mar 26, 2024
· 1 comment
When creating a KeyCredential via Windows.Security.Credentials.KeyCredentialManager.RequestCreateAsync, a WindowsHello window pops up for authenticating the user, but in a non-VS debugger environment, the WindowsHello window is displayed as a bottom window, not at the top, and failing to authenticate.
The text was updated successfully, but these errors were encountered:
YexuanXiao
changed the title
Windows.Security.Credentials.KeyCredentialManager.RequestCreateAsync lacks support for Win32 windows, causing the WindowsHello window to not display correctly at the top
Windows.Security.Credentials.KeyCredentialManager.RequestCreateAsync lacks support for Win32 windows, causing the WindowsHello window to not display correctly at the top and failing to authenticate
Mar 26, 2024
The implementation works for Win32 apps, but uses the wrong window for parenting the UI, as you've found. I filed http://task.ms/49689617 for us to track the work internally, and I've asked the team to provide any more guidance they can on this.
Describe the bug
When creating a KeyCredential via Windows.Security.Credentials.KeyCredentialManager.RequestCreateAsync, a WindowsHello window pops up for authenticating the user, but in a non-VS debugger environment, the WindowsHello window is displayed as a bottom window, not at the top, and failing to authenticate.
Steps to reproduce the bug
call Windows.Security.Credentials.KeyCredentialManager.RequestCreateAsync
Expected behavior
WindowsHello window displayed at the top
NuGet package version
Windows App SDK 1.5.1: 1.5.240311000
Packaging type
Packaged (MSIX)
Windows version
Insider Build (26085)
IDE
Visual Studio 2022-preview
Additional context
Everything works fine when using the VS debugger.
Original issue and discussions: microsoft/cppwinrt#999
The text was updated successfully, but these errors were encountered: