PRF Extension Not Supported in Safari's Cross-Device WebAuthn Flow

Safari 18.0.1 on macOS 15.01 doesn't support the Passkey PRF extension during cross-device WebAuthn authentication when using QR code scanning, while it works correctly with iCloud passkeys.

Steps to Reproduce:

  1. Clone and setup:
git clone https://github.com/quocle108/passkey-prf-test
yarn
yarn start
  1. Test iCloud Passkey Flow:
  • Open http://localhost:3000 in Safari
  • Open DevTools (Cmd+Option+I)
  • Click "Register"
  • Choose "Passkey on iCloud"

Expected console output: PRF supported: true

  1. Test Cross-Device Flow:
  • Click "Register"
  • Choose "Phone/Tablet"
  • Scan QR with mobile device

Expected: PRF supported: true PRF extension should be supported in cross-device flow, matching iCloud passkey behavior. Actual: PRF supported: false Cross-device flow returns empty extension results.

  1. Verify in Chrome
  • Repeat steps 2-3 in Chrome
  • Both flows return proper PRF extension results: PRF supported: true

Test Environment:

This issue was partially fixed in Safari 18.2. As of that version, PRF is available again in hybrid, but it's returning a different value over hybrid than when invoked on-device. This remaining issue will be fixed soon.

PRF Extension Not Supported in Safari's Cross-Device WebAuthn Flow
 
 
Q