Skip to main content
Allow customers to create a native passkey on their device that is used to authenticate into a secure enclave that holds the encryption key for the user. Customers’ passkeys are backed up to the native cloud storage for their device. The secure enclave is Portal’s Trustless Backup Service, the same service used for Firebase Auth Backup. It releases the encryption key only after verifying a WebAuthn assertion from the user’s passkey, with user verification required, and checks the challenge, origin, and relying party on every request.
A separate backup method, PASSKEY_PRF, derives the encryption secret from the user’s passkey through the WebAuthn PRF extension. Portal stores only a non-secret credential record (relying party ID, credential ID, and transports) and never holds the key. It is additive to PASSKEY, and a client can hold both. A client has one PASSKEY_PRF passkey, and it cannot be reset or replaced. The passkey prompts run through mera (@category-labs/mera), an open source passkey library from Category Labs.PASSKEY_PRF is available in the React Native SDK 6.0.1 and later (guide) and the Web SDK 5.0.0 and later (guide). iOS and Android support is coming soon.

Implementation Requirements

  1. Initialize passkey storage as a backup option in the Portal Config Object.
  2. Add portalhq.io as a trusted credential domain in your app.
  3. Share your app id with the Portal Team.
Check out our quick start guides for implementing passkey storage in our SDKs: iOS SDK - #passkey-+-enclave-backup Android SDK - #passkey—enclave-backup React Native SDK - #passkey—enclave Web SDK - #passkey—enclave-backup