News for hackers. Stuff that matters.
Re:Ask HN: Any comprehensive courses on Auth? by mooreds on Sunday November 19, 2023 @02:34PM (#38336857)
> Authorization is far less likely to be something you get off the shelf and far more likely to be where you spend significant time

Agreed. It is business logic, which means that it is harder to do off the shelf.

That said, there are some startups trying to make this work. Here are the ones I'm aware of:

* permit.io

* cerbos.dev

* osohq.com

RBAC (role based access controls) can take you a long way for many applications, but at some point you will be more interested in ABAC (attribute based access control) or PBAC (policy based access control).

If you want to dig in more, this is a nice overview: https://bok.idpro.org/article/id/42/

Re:Ask HN: Any comprehensive courses on Auth? by buzziebee on Sunday November 19, 2023 @06:45PM (#38339934)
Just to add another AuthZ approach to your great comment:

ReBAC for Fine Grained Authorization (FGA) is also something that's becoming more common at the moment. Google released their Zanzibar whitepaper explaining how they implement FGA for things like YouTube and Drive and it's lead to a lot of new tooling based upon it.

I'm working on a project at the moment with quite complex document management with various levels of access. Auth0 open sourced their FGA implementation recently as OpenFGA which looks ideal for our use case. As it's all fairly new there isn't much info out there about different ways of implementing it so we're kind of figuring it out as we go.

Re:Ask HN: Any comprehensive courses on Auth? by tech_tuna on Friday November 24, 2023 @10:17AM (#38404808)
This is the thing about "OAuth isn't about authentication" argument. . . there is quite a bit of overlap between RBAC and authorization. And that in itself, if quite confusing.

What most annoys me is that OAuth is also very much about authentication, specifically outsourcing your authentication to a third party. It's not like OAuth has nothing to do with authentication, which is the knee jerk response you get from people when they attempt to simplify an explanation about what OAuth does and doesn't do.