News for hackers. Stuff that matters.
Re:The never-ending product requirements of user authorization by svnpenn on Monday September 20, 2021 @12:46AM (#28590462)
Isn't this just reinventing OAuth?

OAuth already has grant_type and "scope" to cover different devices, flows and permissions.

Re:The never-ending product requirements of user authorization by throwaway81523 on Monday September 20, 2021 @01:49AM (#28590689)
Um no. The issue is authorization is a million tentacled octopus that reaches into every crevice of your app, and if the app is built out of multiple services, auth reaches into those. The thread someone just linked from yesterday (https://news.ycombinator.com/item?id=28543457) and the article it points to is sales-y but gives a picture of some of the issues.
Re:The never-ending product requirements of user authorization by alex-olivier on Monday September 20, 2021 @04:47AM (#28591555)
Author of the article here.

This is a very common question we get. OAuth is great for when the permissions can be modelled as a set of roles/scopes which apply uniformity. Where that breaks down as described in the article is when there needs to be more context involved in the authoriZation - beyond simple roles from your chosen autheNtication provider.

Re:The never-ending product requirements of user authorization by svnpenn on Monday September 20, 2021 @10:08AM (#28593910)
The fact that OAuth isnt mentioned a single time in the article is glaring. You should at least have a paragraph like "why not just use OAuth?" where you answer that question. Otherwise it seems youre avoiding the question on purpose, as these two items are clearly in the same space.
Re:The never-ending product requirements of user authorization by alex-olivier on Monday September 20, 2021 @10:54AM (#28594450)
Thanks for the feedback - are are working on adding more comparisons of technologies onto https://cerbos.dev and will certainly make sure to include OAuth
Re:The never-ending product requirements of user authorization by himinlomax on Monday September 20, 2021 @03:38AM (#28591177)
The auth in OAuth stands for authentication. This is authorization.
Re:The never-ending product requirements of user authorization by mkl on Monday September 20, 2021 @07:47AM (#28592728)
Not according to the OAuth 2.0 RFC, which is titled "The OAuth 2.0 Authorization Framework": https://datatracker.ietf.org/doc/html/rfc6749
Re:The never-ending product requirements of user authorization by draven on Monday September 20, 2021 @04:05AM (#28591354)
OAuth is an authorization framework.