relyingParty
: The relying party identifier for WebAuthn/passkey authentication. This is typically your application’s domain name (e.g., “portalhq.io”)webAuthnHost
: The WebAuthn host that will handle passkey operations. This should match your application’s authentication server.
- Requires iOS 16.0 or later
- Uses the native passkey APIs introduced in iOS 16
- Must be called before using passkey backup or recovery methods
- The relying party should match your application’s domain name for security purposes
- Should be used in conjunction with
setPasskeyAuthenticationAnchor
for complete setup
- Check iOS version compatibility
- Configure passkey settings using this method
- Set the authentication anchor using
setPasskeyAuthenticationAnchor
- Use passkey-based backup or recovery methods
- The relying party identifier is crucial for security and should match your app’s domain
- Passkeys provide a secure, phishing-resistant alternative to passwords
- Each passkey is unique to the combination of user account, relying party, and device