Implement own passwordless authentication?

Hello,

I’m trying to implement passwordless authentication app similar to the existing webauthn solution (I had this setting missing butI found out I need to enable bcmath and gmp php extensions).

Is it possible and if so, is there any documentation or atleast source code of the existing solution? I can’t seem to find it anywhere and seems like its loading in minified /apps/settings/js/vue-settings-personal-webauthn.js, which is not originally in the source code. From where was it generated?

Thanks, Petr.