How To Add Impersonation To Rails Authentication Generator Discussion
I really love how flexible and easy to customize the new Rails 8 authentication generator is. Think we should cover 2 Factor Auth next?
sounds good
sounds good
Hi Chris. Love the new auth generator too, and I would love to know how to extend it with OAuth and 2FA.
Those are on my list!
I appreciate the use of the Current
property to manage both active sessions and fake users. It's a great solution, improving the readability and maintainability of the code.
Great Feature and walk through, I might be getting ahead of myself but how would you combine this approach in multitenancy? Would you plan a lesson about that?
Everyone wants multitenancy to work differently, so what are you specifically trying to do? Separate logins by subdomain or something?
yes, exactly, separation by subdomain at the logical level, and then evolve that perhaps into row-level multitenancy combined?