WebAuthnLiveComponent - Passwordless Auth for LiveView Apps

It’s so beautiful.

Observations:

  1. When I tabbed into the email field in User Profile page, my cursor didn’t show up the first time. (I don’t know how the focus got messed up)
  2. I wish the sign in button changed in the first page to sign out.
  3. There’s a flicker, when signing out & signing in.
  4. The toast message that shows up after successful sign in disappears because of the flicker.
  5. Also, instead of using UUID, can it use KSUID, or we can change it later. :sweat_smile:

P.S. Can the demo contain the phx.gen.auth, because I want to make sense of how both of them can be used together.


P.P.S. This is awesome. More people should get in on this.

3 Likes