Skip to content

Commit d468d7c

Browse files
Larkoooclaude
andcommitted
fix: add WebAuthn permissions to Permissions-Policy header
Passkeys triggered inside an iframe require the server to explicitly allow the WebAuthn API via the Permissions-Policy header. Without publickey-credentials-create and publickey-credentials-get, the browser blocks the WebAuthn call before it reaches the passkey flow. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ba20840 commit d468d7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/keychain/vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
{
1919
"key": "Permissions-Policy",
20-
"value": "camera=(), microphone=(), geolocation=()"
20+
"value": "camera=(), microphone=(), geolocation=(), publickey-credentials-create=*, publickey-credentials-get=*"
2121
}
2222
]
2323
},

0 commit comments

Comments
 (0)