# Rodauth & Hanami

**URL:** <https://discourse.hanakai.org/t/rodauth-hanami/1301>\
**Category:** sharing\
**Created:** [September 16, 2025, 12:50pm UTC](https://discourse.hanakai.org/t/rodauth-hanami/1301 "2025-09-16T12:50:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![timriley](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.hanakai.org/timriley/32/621_2.png) [@timriley](https://discourse.hanakai.org/u/timriley)\
**Post date:** [September 16, 2025, 12:50pm UTC](https://discourse.hanakai.org/t/rodauth-hanami/1301/1 "2025-09-16T12:50:37Z")

</div>

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

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](https://github.com/decafsucks/decafsucks) (my hobby app), and I just wrote a full blog post explaining the setup: [Rodauth, meet Hanami](https://timriley.info/posts/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 🙂

---

<div class="post-metadata">

**Author:** ![jaredwhite](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.hanakai.org/jaredwhite/32/963_2.png) [@jaredwhite](https://discourse.hanakai.org/u/jaredwhite)\
**Post date:** [September 19, 2025, 3:26pm UTC](https://discourse.hanakai.org/t/rodauth-hanami/1301/2 "2025-09-19T15:26:34Z")

</div>

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. ☺

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