Commit 380f2f7
fix: add WebAuthn permissions to Permissions-Policy header (#2482)
## Summary
- Adds `publickey-credentials-create=*` and
`publickey-credentials-get=*` to the `Permissions-Policy` response
header in the keychain's `vercel.json`
- Fixes passkey authentication/registration failing when the keychain is
embedded as an iframe, because the browser was blocking WebAuthn API
calls due to missing permission directives
## Test plan
- [ ] Deploy to preview and verify passkeys work in an iframe-embedded
keychain
- [ ] Verify both passkey registration (create) and authentication (get)
flows succeed
- [ ] Confirm no regression on direct (non-iframe) passkey usage
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent ba20840 commit 380f2f7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments