Webauthn Rails Demo App

screenshot of Webauthn Rails Demo App
rails

Rails app demonstrating a WebAuthn password-less login

Overview

The WebAuthn Rails Demo App is an application showcasing a WebAuthn password-less login system created using Ruby on Rails and the webauthn ruby gem. It offers an example of implementing WebAuthn as a second factor authenticator in a Rails application, as seen in the webauthn-2fa-rails-demo.

Features

  • WebAuthn Password-less Login: Demonstrates logging in without a password using WebAuthn.
  • Ruby on Rails Integration: Built with Ruby on Rails framework for web development.
  • Webauthn Ruby Gem: Utilizes the webauthn ruby gem for WebAuthn functionalities.
  • Local Deployment: Provides guidance on running the application locally.
  • Gem Update Policy: Guidelines on gem dependencies and version constraints.
  • Development Tips: Recommendations for managing gems and updating dependencies.

Prerequisites

  • Ruby should be installed on your system.

Setup

  1. Clone the repository.
  2. Install dependencies using bundle install.
  3. Run the application with rails server.

Running

Access the demo site at http://localhost:3000 to interact with the application.

Summary

The WebAuthn Rails Demo App serves as a demonstration of implementing a WebAuthn password-less login system in a Ruby on Rails application. With features like local deployment guidance, gem management best practices, and direct application access, it provides a practical example for developers looking to integrate WebAuthn into their projects.

rails
Ruby on Rails

Ruby on Rails, often referred to as Rails, is an open-source web application framework written in Ruby. Known for its convention over configuration and don't repeat yourself (DRY) principles, Rails simplifies and accelerates the development of database-backed web applications.