I have a RoR WebApp which uses **Devise for Authentication**. I stumbled across [FIDO](https://fidoalliance.org/) and specifically [WebAuth](https://webauthn.io/). And now I am trying to implement WebAuthn for the same App. There is a nice gem for implementing WebAuthn on Rails at [web-authn-ruby](https://github.com/cedarcode/webauthn-ruby).

This gem though does not use Devise.
So i wanted to know what would be the best way to have Devise work with WebAuthn. At a high level, will I have to override Devise's core features and incorporate the WebAuthn methods? Or is there a better alternative?

Thank you