rwinch / spring-security-webauthn

46 stars 14 forks source link

Page reload loop when conditional mediation fails #73

Open Kehrlann opened 1 month ago

Kehrlann commented 1 month ago

Issue

When running on Firefox, conditional mediation often fails out of the box. Then the JS code redirects me to /login?error, where conditional mediation happens again immediately. This makes Firefox crash.

Sometimes conditional mediation does not throw and error, and the issues only start occurring when the user clicks the "sign in with passkeys" button.

Both Safari and Chrome have slightly different behaviors, with no visible redirect loop, but there are blocking bugs that tend to crash the running tab.

Environment

Running on http://localhost:8080 (no TLS) No password-manager extension Firefox developer edition, 132.0b6 MacOS Sonoma 14.6.1

Ideas