janko / rodauth-rails

Rails integration for Rodauth authentication framework
https://github.com/jeremyevans/rodauth
MIT License
593 stars 40 forks source link

Multi tenant Examples #260

Closed pboling closed 9 months ago

pboling commented 9 months ago

I got it working!

At least the parts that are tested. I'll add more.

I based this on top of branch https://github.com/janko/rodauth-rails/tree/url-helpers (PR #245) but also rebased on top of latest main as of 71eaf3d.

I did this because it looked like the url-helpers branch was building in the direction of what I needed.

janko commented 9 months ago

Thanks for the PR. rodauth-rails doesn't have any special multi-tenancy support, so it wouldn't really make sense to add these examples to the test suite.

What would IMO be far more useful is a wiki page with instructions on how to configure rodauth-rails for multi-tenancy 😉 The wiki is publicly editable, so feel free to add a new page.