Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This topic describes the plugin credential manager API plugin support for passkey providers on Windows. It showcases a demo app named Contoso Passkey Manager.
Contoso Passkey Manager
Windows 11 supports a plugin model for passkeys. Contoso Passkey Manager is a demo app that demonstrates this passkey provider support.
Warning
Contoso Passkey Manager is designed for passkey creation and usage testing only. Don't use the app for production passkeys.
Step 1: Installation
- Set up your development environment for WinUI 3 development (see Install tools for the Windows App SDK).
- Clone the Windows-classic-samples GitHub repo for the Contoso Passkey Manager sample app.
- In Visual Studio, open the Contoso Passkey Manager solution that you just cloned, carefully follow the instructions at the link above, build the sample, and then run it to confirm installation.
Step 2: Setup
- Go to Settings > Accounts > Passkeys, and then Advanced options.
- Switch the toggle to On for Contoso Passkey Manager.
- Complete the Windows Hello user verification, and now you can save passkeys to the Contoso Passkey Manager.
Step 3: Passkey creation
- Navigate to a website such as webauthn.io.
- Create a test user name, and click Register.
- You will be prompted, on saving your passkey, with the Contoso Passkey Manager. Click Continue.
- The Contoso Passkey Manager app will open. Click Create to create the credential in Contoso Passkey Manager.
- Complete user verification with Windows Hello, and the passkey is created.
- You can see your saved passkeys by opening the Contoso Passkey Manager.
- If you want to test different experiences, then you can toggle Simulate Vault Unlock to test a vault unlock user experience when saving a passkey. The Minimize UI toggle simplifies the step that opens the passkey manager, and the experience flow will instead just be with user verification on Windows Hello.
Step 4: Passkey authentication
- Input your username, and click Authenticate.
- Select to sign in with the passkey saved to the Contoso Passkey Manager.
- Complete user verification with Windows Hello to authenticate.
- You've successfully logged in.
Next steps
To integrate with the plugin capability, go to webauthn to find the header files.
See also
Windows developer