News for hackers. Stuff that matters.
Re:Ask HN: Anyone built a business with no-code tools? by SahAssar on Tuesday June 22, 2021 @07:56PM (#27598952)
Because authentication is coupled to authorization and authorization is coupled to business rules and data access. If your program does not deal with business rules and data access then it is probably a single-user program (that does not need authentication).

I'm over-simplifying of course, but these things sound simple until you ask all the "but-then" and "what-if". If someone actually makes them simple in a way that still lets me cover those cases I'll be the first to stop writing authN/authZ code.

Re:Ask HN: Anyone built a business with no-code tools? by npwr on Wednesday June 23, 2021 @06:40AM (#27602939)
Authentication should definitely not be coupled with authorization. The only link between the two is an user ID.

AWS very much decoupled authentication from authorization with Cognito and it works very well.