Why do payment providers prefer redirects over embeddings?

Vincent Delitz

Vincent

Created: April 8, 2025

Updated: April 18, 2025

payment provider passkeys third party sdk

Read the full article

Learn how to create cross-origin passkeys as a payment provider. Compare iframe vs. redirect, offer Apple Pay-level UX & use analytics for higher adoption.

Read the full article

Already read by 5,000+ enterprise security leaders.


Why do some payment providers prefer a redirect flow over embedding passkey authentication directly in the checkout page?#

Some payment providers prefer redirect-based passkeys instead of embedding passkey authentication directly into the merchant’s checkout page due to critical advantages related to browser compatibility, security, and ease of implementation:

redirect based passkeys preference

Reasons for Preferring Redirect-Based Passkeys#

Browser Compatibility and Reliability#

Redirect flows operate fully in the payment provider's domain, bypassing cross-origin restrictions. Unlike embedded iframe methods, redirects guarantee consistent support across all major browsers—including Safari, which currently restricts passkey creation in cross-origin contexts.

Simplified Technical Implementation#

Redirect-based passkey implementations eliminate complex permission configurations and reduce the likelihood of encountering compatibility issues or browser-specific bugs, significantly decreasing development overhead.

Enhanced Security and Compliance#

Operating entirely within the payment provider’s secure domain environment simplifies adherence to security standards such as PCI DSS and PSD2 SCA, ensuring better protection against potential cross-origin vulnerabilities.

Enterprise Icon

Get free passkey whitepaper for enterprises.

Get for free

Impact on User Experience:#

While redirect flows may slightly disrupt the seamless user experience by temporarily taking users away from the merchant's site, careful UX design (such as clearly communicating the redirect process and swiftly returning users after authentication) can minimize friction.

Best Practices for Implementing Redirect-Based Passkeys#

  • Clearly communicate to users that they'll briefly visit the provider's domain for secure authentication.
  • Ensure rapid redirects back to the merchant’s page after authentication.
  • Optimize UX elements to closely resemble a native, frictionless authentication experience.

By employing redirect-based passkeys, payment providers achieve broader compatibility, enhanced security, and simplified integration, making it an attractive option despite potential minor UX trade-offs.

payment provider passkeys third party sdk

Read the full article

Learn how to create cross-origin passkeys as a payment provider. Compare iframe vs. redirect, offer Apple Pay-level UX & use analytics for higher adoption.

Read the full article

Already read by 5,000+ enterprise security leaders.

Schedule a call to get your free enterprise passkey assessment.

Schedule a call

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.

Share this article


LinkedInTwitterFacebook