Ask A Question

Notifications

You’re not receiving notifications from this thread.

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?

Reply

Hi Chris. Love the new auth generator too, and I would love to know how to extend it with OAuth and 2FA.

Reply

Those are on my list!

Reply

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.

Reply

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?

Reply

Everyone wants multitenancy to work differently, so what are you specifically trying to do? Separate logins by subdomain or something?

Reply

yes, exactly, separation by subdomain at the logical level, and then evolve that perhaps into row-level multitenancy combined?

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 86,277+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.