Rodauth & Hanami

Recently I had the chance to put together my first working Rodauth setup in a Hanami app! :slight_smile:

My focus was to make it feel as streamlined within Hanami as possible. This meant: requiring authentication from within actions, and making sure Rodauth’s templates are rendered by Hanami views.

All the code is now available in decafsucks/decafsucks (my hobby app), and I just wrote a full blog post explaining the setup: Rodauth, meet Hanami.

I hope this is useful!

And if any of you are interested in helping to create a rodauth-hanami gem, hit me up and I can help you out :slight_smile:

8 Likes

Rodauth is rad. I’ve been using it on some Bridgetown/Roda sites for a while now and it’s solid. Definitely recommend making a plugin gem out of it. I think it’d be pretty cool if Rodauth just become the defacto auth layer for Ruby web apps. :smiling_face:

(P.S. First post on the forum here. Hello everybody! :waving_hand:)

6 Likes