configure Passkey Storage
Configures the Passkey Storage for the backups.
This function sets up the necessary parameters for using Passkey as a backup method, including the relying party ID, relying party origins, and the WebAuthn host. It also registers the PasskeyStorage
adapter with the MPC system.
Parameters
The identifier of the relying party. This is typically a domain name or a unique string identifying the service. Defaults to "portalhq.io".
A list of allowed origins for the relying party. These origins will be used to validate requests related to passkey management. These should be the website origins.
The base URL of the WebAuthn server responsible for handling passkey operations. Defaults to "https://backup.web.portalhq.io".
Throws
if relyingPartyOrigins
is empty.