The only “doc” I found that in the Rails 8 blog post announcement:
Just run
bin/rails generate authenticationand you’ll get basic models forSessionandUser, together with aPasswordsMailer,SessionsController, and anAuthenticationconcern. All you have to bring yourself is a user sign-up flow (since those are usually bespoke to each application). No need to fear rolling your own authentication setup with these basics provided…