Skip to content

A template repo that showcases using Devise Passkeys

Notifications You must be signed in to change notification settings

ruby-passkeys/devise-passkeys-template

Repository files navigation

README

Prerequisites

Please use your platform's specific instructions for the below as needed.

Requirements

  • Ruby via the .ruby-version
  • The gems in the associated Gemfile
  • puma-dev to simplify HTTPS connections (WebAuthn requires a Secure context)

Setup

To have puma-dev proxy the requests to the foreground server (bundle exec rails server), you will need to specify the port to map to the test domain (see: https://github.com/puma/puma-dev#proxy-support):

echo '3210' > ~/.puma-dev/devise-passkeys

Running the server

./bin/dev_server

(which is a simple wrapper around):

bundle exec rails s --port 3210

The app is now running at https://devise-passkeys.test

Pulled from Getting your Rails dev environment ready for passkeys

About

A template repo that showcases using Devise Passkeys

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •