Skip to content
railsengines.com

Devise Webauthn

A devise extension for authentication with passkeys and two factor authentication with security keys

No ratings yet
Gem
devise-webauthn
Repository
cedarcode/devise-webauthn
License
MIT
Stars
36
Added
August 14, 2026

About

A devise extension for authentication with passkeys and two factor authentication with security keys

Devise::Webauthn is a Devise extension that adds WebAuthn support to your Rails application, allowing users to authenticate with passkeys and use security keys for two factor authentication.

What you get

  • Create the WebAuthn initializer (config/initializers/webauthn.rb)
  • Generate the WebauthnCredential model and migration
  • Add webauthn_id field to your devise model (e.g., User)
  • Configure JavaScript loading for your application (see JavaScript Setup)

Installing it

ruby
# Gemfile
gem "devise-webauthn"

Details

36 stars on GitHub · MIT licensed · maintained by cedarcode. Source: https://github.com/cedarcode/devise-webauthn

Discussion (0)

Sign in to join the discussion.

No comments yet.