This is a demo app written in Sinatra that uses Keratin AuthN to manage authentication. The commits are written in tutorial fashion and may be revised over time as best practices change.
Start here: https://github.com/keratin/authn-demo/commits/master
- Install Docker, Ruby, and Bundler
- Create a
.env
file from.env.sample
- Install Rubygem dependencies:
bundle install
- Start AuthN server:
./authn
- Start Demo app:
bundle exec rackup config.ru