Skip to content

ShelfPasskeyOptions

Defined in: packages/auth/src/engine.ts:113

WebAuthn passkey config (profile enrollment; sign-in ceremony is E8).

optional origin?: string | string[]

Defined in: packages/auth/src/engine.ts:125

Allowed origins (no trailing slash). Defaults to the baseURL origin.


optional rpID?: string

Defined in: packages/auth/src/engine.ts:121

Relying-party id. Defaults to the baseURL hostname.

WebAuthn needs a secure context: localhost (any port) or HTTPS. Plain-HTTP LAN/IP deployments cannot use passkeys — the UI hides passkey affordances there (see passkey-ceremony.ts).


optional rpName?: string

Defined in: packages/auth/src/engine.ts:123

Human-readable site title. Defaults to “StoryShelf”.