New Discussion

Notifications

You’re not receiving notifications from this thread.

How To Add Impersonation To Rails Authentication Generator Discussion

8
General

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?

Join the discussion
Create an account Log in

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

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

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