logoalt Hacker News

jiveturkeyyesterday at 10:59 PM2 repliesview on HN

JWTs can do that (delegate) and such capability is already well defined.


Replies

saganusyesterday at 11:59 PM

Maybe I stated it wrong. Macaroons have the ability to attenuate the restrictions _without_ contacting the auth server, which makes it IMO fit for restricting and attenuating as much as you want, without much cost.

If I need a roundtrip to the auth server to attenuate, I am not necessarily going to do it as often.

tptacektoday at 2:35 AM

Most token formats delegate. Macaroons support attenuation, confinement, and embedded third-party claims, none of which are JWT capabilities.