This is a quick place to get started when you're building a Sinatra app with JWT authentication. I found myself building a lot of microservice-style API applications for myself in Sinatra and wanted to get the boilerplate out of the way. It's not quite starting from square one, but it's close.
- Clone this project
- Set your own Authentication::ENTITY_LIST in jwt_auth.rb
rm -r .git
git init
And you're off on your way.
I dunno, open an issue.
- Mostly based off: https://auth0.com/blog/ruby-authentication-secure-rack-apps-with-jwt/
- Spiritually inspired by: https://github.com/PatrickTulskie/old_black_magic