Vincent
Created: April 7, 2025
Updated: April 19, 2025
Discover how to create & login with passkeys in cross-origin iframes with our guide. Learn about iframes in WebAuthn, security policies, & implementation.
Read the full articleAlready read by 5,000+ enterprise security leaders.
Yes, creating passkeys within cross-origin iframes is currently possible, but it depends on browser support and specific technical requirements:
To successfully implement passkey creation in cross-origin iframes, you must:
Permissions-Policy
headers:
Permissions-Policy: publickey-credentials-get=(*), publickey-credentials-create=(*)
<CustomBanner type="Enterprise" /> * Ensure transient user activation (user gesture like clicks) to initiate the passkey creation. ## Future Browser Outlook It's not yet clear if Safari and other browsers will eventually support passkey creation in cross-origin contexts in the future. For production environments, always verify browser compatibility and provide fallback flows for unsupported scenarios, especially for Safari users
Discover how to create & login with passkeys in cross-origin iframes with our guide. Learn about iframes in WebAuthn, security policies, & implementation.
Read the full articleAlready read by 5,000+ enterprise security leaders.
Enjoyed this read?
🤝 Join our Passkeys Community
Share passkeys implementation tips and get support to free the world from passwords.
🚀 Subscribe to Substack
Get the latest news, strategies, and insights about passkeys sent straight to your inbox.