3 ms·
> Software takes a long time to build because it's always new. And yet it feels like authentication and authorization code need to be rewritten for every appli
by sriku 6y ago
> Software takes a long time to build because it's always new.
And yet it feels like authentication and authorization code need to be rewritten for every application.
- danielheath 6y agoI don’t rewrite bcrypt, and authorisation is intrinsically linked to your data model.
- Cthulhu_ 6y agoNot in my experience; basic session auth is easy enough, and oauth has been around for a while now. What keeps giving though is CRUD. Naming things, forms, APIs, persistence, every time, rinse and repeat.
- threatofrain 6y agoOnly vendor-specific code, so it's not that bad. What business do most people have rewriting auth stuff?
- xorcist 6y agoThat's because it is mostly integration that is done, not so much construction. AA needs to permeate the whole project, from the details of a function call to high level design like making sure an actor can call another part of the software stack to perform an otherwise unauthorized operation. "Building" software can mean any number of things. When you get down to the specifics, there is no getting around using specific language.