webauthn-ruby
webauthn-with-devise
Our great sponsors
webauthn-ruby | webauthn-with-devise | |
---|---|---|
5 | 1 | |
622 | 16 | |
2.7% | - | |
5.9 | 0.0 | |
about 2 months ago | almost 3 years ago | |
Ruby | Ruby | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
webauthn-ruby
-
Passkey Authentication with Rodauth
Rodauth provides first class support for passkeys, implemented on top of the excellent webauthn-ruby gem. It enables using passkeys as a multifactor authentication method, or for passwordless login and registration. In addition to routes, views and database storage, it also provides the complete JavaScript part that interacts with Web Authentication API for zero configuration.
-
I’ve started discussion + work on updating Devise to support passkeys; we need contributors!
Would it make sense to leverage another gem like https://github.com/cedarcode/webauthn-ruby for this? Or are we thinking a completely devise internal implementation? Either way I’m interested in contributing to this movement for devise
-
Apple Passkey
I've used this gem for rails apps https://github.com/cedarcode/webauthn-ruby
-
Multi-Factor Authentication for Rails with WebAuthn and Devise
Luckily, there is a WebAuthn gem for Ruby (thanks!) that will do all the hard work for us. Just run bundle add webauthn.
-
Best practices for Two Factor Auth / 2FA in 2021?
All OTP-based 2FA methods are phishable. For real security, you should be looking at FIDO (U2F or WebAuthN)
webauthn-with-devise
-
Multi-Factor Authentication for Rails with WebAuthn and Devise
I created a GitHub repository with all of the code used in this article. The application uses Rails 6.1 with Turbo and Stimulus. When I use Turbo, I will also inform you of an option that can be used when Turbo is not available in your application.
What are some alternatives?
devise-2fa - Devise 2FA with Time Based OTP/rfc6238 tokens and encrypted secrets.
Tailwind CSS - A utility-first CSS framework for rapid UI development.
fido2-net-lib - FIDO2 .NET library for FIDO2 / WebAuthn Attestation and Assertion using .NET
vite_ruby - ⚡️ Vite.js in Ruby, bringing joy to your JavaScript experience
devise-otp - Two Factors authentication for Devise using Time Based OTP/rfc6238 tokens.
Bitwarden - The core infrastructure backend (API, database, Docker, etc).
fido2 - Open-source FIDO server, featuring the FIDO2 standard. https://demo4.strongkey.com/getstarted/#/openapi/fido
request.js
webauthn-json - 🔏 A small WebAuthn API wrapper that translates to/from pure JSON using base64url.
webauthn-rails-demo-app - Rails app demonstrating a WebAuthn password-less login
flutter-passkeys - Flutter packages to enable passkey authentication (based on WebAuthn / FIDO2).
Devise - Flexible authentication solution for Rails with Warden.