A Chrome extension runs mera on its own pages. Two choices shape the integration: the relying party ID the passkeys belong to, and the page that runs the WebAuthn ceremony.
An extension can use its own extension ID or the host of a website, such as account.example.com.
With the extension ID, the passkeys work only inside the extension; a website or a mobile app cannot use them. The ID must also never change.
With a host, the same passkeys work on the website and in the extension. Chrome 122 and later let the extension use them when the manifest lists that exact host:
The ceremony runs on an extension page or on a page of the relying party’s website.
On an extension page, Chrome shows its own passkey prompt. Password managers that intercept WebAuthn requests on websites, such as 1Password, never see it. As of 2026-08, the prompt offered only Chrome’s built-in password manager and Apple Passwords. In the side panel, it often does not appear at all, and the request hangs.
On the website, the extension opens a page that runs the ceremony and sends the PRF output back with postMessage, so the password managers that intercept WebAuthn can answer. The host must serve that page, and the PRF output crosses a message channel, so both ends pin who they talk to. The extension accepts a message only from the website’s origin, and only from the window it opened:
const
const passkeyWindow:Window|null
passkeyWindow =
var window:Window&typeofglobalThis
The window property of a Window object points to the window object itself.
The open() method of the Window interface loads a specified resource into a new or existing browsing context (that is, a tab, a window, or an iframe) under a specified name.
The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
The Window interface's opener property returns a reference to the window that opened the window, either with Window.open, or by navigating a link with a target attribute.
The Chrome extension demo binds passkeys to mera.category.xyz. From the side panel, it opens a page on that host and receives the PRF output with postMessage. A key in the demo manifest fixes the extension ID, and the page posts only to that ID.