fix: Fix for LoginUsername page for passkeys authentication#954
Conversation
… a tag with input as used in Keycloak. href=# in a tag redirects nowhere
WalkthroughThe authentication control in the LoginUsername component is refactored from an anchor element to an input button element. The button retains the same label and conditional placement while adopting button-specific attributes and styling classes. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Thank you! That's somve very valuable fix! If I may ask, could you also apply this change here? https://github.com/keycloakify/login-ui Thanks in advance. @allcontributors add @waynemorphic for code |
|
I've put up a pull request to add @waynemorphic! 🎉 |
|
@garronej sure thing 👍 |
Replace
<a>tag withinputtag as used in Keycloak. Current implementation withhref=#in<a>tag redirects nowhere. The browser (Firefox) also freezes after clicking theSign in with Passkeybutton.Keycloak impl
Summary by CodeRabbit