WebAuthn + LiveView

Product information




Intermediate, Advanced


Full Stack Elixir Engineer with a passion for collaboration, refinement, and Websockets.

Talk Description

As I build my side project, a collaborative music application called LiveShowy, I want to avoid the development and customer support headaches of password management. I also want the app to run over Websockets as much as possible using LiveView.

The WebAuthn API provides Javascript functions for prompting users for biometric or physical key credentials. In the Elixir ecosystem, there are a few WebAuthn libraries, but none designed or documented for use in LiveViews. Phoenix LiveView provides JS hooks, which greatly simplify interactions with browser APIs.

In my talk, I will make the case for using WebAuthn when possible for improved security, telling the tale of how I implemented the API over Websockets with the Wax package from Hex. Leading up to the talk, I plan to review the implementation with experts with the intent to publish an open source package for LiveView applications at ElixirConf.