The Symfony UX Initiative allows adding high interaction application from Twig templates without a single line of JS.
With the version 4.1, a Stimulus Controller is provided. This component turns a basic login form into a Webauthn compatible one.
To use this nice feature, you first need to install and configure Symfony UX. Please refer to the official documentation.
Then, install the package using composer:
It is now time to create your first form.