Straightforward Auth in Phoenix, 2026 Edition

Back in 2016 I left myself a note: for simple auth in Phoenix, skip Pow and hand-roll it like the book shows. Ten years later the honest answer is different. You still don't need a heavyweight library, but you don't hand-roll it either: mix phx.gen.auth writes the code for you, and in Phoenix 1.8 it comes with magic links, sudo mode and scopes.