[Proposal] rails generate authentication user

Rails 7.1 brings more methods to roll your own authentication system, would be a authentication generator welcome to rails ? I’m thinking about extract something from my gem GitHub - lazaronixon/authentication-zero: An authentication system generator for Rails applications.


This would be great. With this generator there is no excuse that an authentication gem is not flexible enough, especially if you use all the built-in Rails support for it.

1 Like

+1 I like to see all that useful features already included in your project.

HOWEVER: personally I don’t like generators, especially when security is involved. What if you discover a security vulnerability? I guess that many applications won’t notice that…

A gem or built-in feature in Rails core would be much better.

Also, having an official authentication/authorization in Rails would allow all the other gems to rely on it and create more powerful integrations.