Try the demo

Blog

AllowedBy and OAuth answer different questions

OAuth delegates access to an application. AllowedBy records a person's consent to an action. Where each fits, and how they work together.

People ask whether this could be an OAuth scope. Often it should be. The difference is what the person agreed to, and who can check it.

OAuth access tokenAllowedBy grant
The person agrees toAn application having accessActions, in a sentence
Text shownScope descriptions on the provider's screenThe service's sentence, signed by the person
What travelsUsually a bearer tokenA signed document bound to the agent's key
If copiedA bearer token can be usedUseless without the key that signs each request's proof
Who can check itThe resource server, with its authorization server's keysAny service that trusts the node, offline
RegistrationUsually per providerThe agent has a passport from its node
Serious actionsSame token, if the scope covers themA new, single-use approval

Where OAuth is the better choice

If one application needs access to one provider's API for a long time, and the person understands that relationship, use OAuth. It is mature and widely supported. Extensions narrow the gap: DPoP binds tokens to keys, Rich Authorization Requests describe a specific action, and dynamic registration removes manual setup.

Where it runs out

An assistant may meet a thousand services in a year. A scope such as billing covers a one-euro change and a thousand-euro change alike. And after a dispute, a token shows that access existed. It does not show that a person signed a sentence.

Together

A service can keep OAuth for its own integrations and accept AllowedBy for agents it has never met. The architecture plans a mapping to Rich Authorization Requests, so that a grant can be the record behind an authorization.

Payment mandates are similar neighbours. They prove that a person allowed a payment. A grant can carry the yes for actions that are not payments: cancelling, publishing, signing, deleting, sharing.

Next postChoosing a level for each action