https://github.com/cedarcode/devise-webauthn-demo-app
A demo app to add devise and builds webauthn 2FA on top
https://github.com/cedarcode/devise-webauthn-demo-app
Last synced: 5 months ago
JSON representation
A demo app to add devise and builds webauthn 2FA on top
- Host: GitHub
- URL: https://github.com/cedarcode/devise-webauthn-demo-app
- Owner: cedarcode
- Created: 2019-04-28T00:53:32.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2026-01-14T13:59:47.000Z (5 months ago)
- Last Synced: 2026-01-14T17:36:10.489Z (5 months ago)
- Language: JavaScript
- Size: 441 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Devise WebAuthn Demo App
A Rails application demonstrating how to use `devise-webauthn` gem to integrate WebAuthn passwordless authentication and 2FA into a Devise-based authentication system.
## Want to try it?
### Option 1 — Visit the hosted version
- Visit https://devise-webauthn.cedarcode.com and try it!
### Option 2 – Run it locally
#### Prerequisites
- Ruby 3.4.7
#### Setup
```bash
$ git clone https://github.com/cedarcode/devise-webauthn-demo-app
$ cd devise-webauthn-demo-app/
$ bundle install
$ bundle exec rails db:setup
```
#### Running
```bash
$ bundle exec rails s
```
Now you can visit http://localhost:3000 to play with the demo site.
### Usage
1. Sign up at `/users/sign_up`
2. Register a passkey or security key from the dashboard
3. Try passwordless login or 2FA on your next sign-in