Re: [webauthn] Cross-window `Virtual Authenticator Database` (#2117)

Hey @nsatragno! Here’s the flow I was expecting for my tests using WebDriver.IO:

0. **Setup:** Create Virtual Authenticator.
1. **Signup Flow:** The user initiates the signup process, which opens a popup window where a new credential is created.
2. **Login Flow:** Back in the main window, the user attempts to log in, and the app needs to retrieve and use the credential that was created in the popup window.

**Problem:** The credentials aren't shared between the two windows. So I had to create one VirtualAuthenticator for each window and had to do some magic to create a synchronized credential store between the two windows.

**Solution:** Either tie the Virtual Authenticator Database to the WebDriver session or why not just matching the normal Authenticator Database behavior ?

-- 
GitHub Notification of comment by sshmaxime
Please view or discuss this issue at https://github.com/w3c/webauthn/issues/2117#issuecomment-2448350056 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 30 October 2024 20:50:02 UTC