A Rails application demonstrating how to use devise-webauthn gem to integrate WebAuthn passwordless authentication and 2FA into a Devise-based authentication system.
- Visit https://devise-webauthn.cedarcode.com and try it!
- Ruby 3.4.7
$ git clone https://github.com/cedarcode/devise-webauthn-demo-app
$ cd devise-webauthn-demo-app/
$ bundle install
$ bundle exec rails db:setup$ bundle exec rails sNow you can visit http://localhost:3000 to play with the demo site.
- Sign up at
/users/sign_up - Register a passkey or security key from the dashboard
- Try passwordless login or 2FA on your next sign-in