Skip to main content

components/passkey/convex.config

For AI agents: see llms.txt for the complete documentation index. Markdown versions are available by adding .md to a page URL or requesting Accept: text/markdown.

Variables​

default​

const default: ComponentDefinition<any, {
}>;

The passkey (WebAuthn) component.

The component owns the passkeys credential table and the short-lived challenges table. It examines registrations and authentications on the server. It stores credentials with an opaque userId only: the app owns the users table.

The component mounts the batch worker component. It runs the background loop that erases the expired challenges (see cleanup.ts).

The component has no configuration. The app passes the relying party ID and the origin as arguments to the finish functions.