# AllowedBy and OAuth answer different questions

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 token | AllowedBy grant |
|---|---|---|
| The person agrees to | An application having access | Actions, in a sentence |
| Text shown | Scope descriptions on the provider's screen | The service's sentence, signed by the person |
| What travels | Usually a bearer token | A signed document bound to the agent's key |
| If copied | A bearer token can be used | Useless without the key that signs each request's proof |
| Who can check it | The resource server, with its authorization server's keys | Any service that trusts the node, offline |
| Registration | Usually per provider | The agent has a passport from its node |
| Serious actions | Same token, if the scope covers them | A 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.

Source: https://allowedby.com/blog/allowedby-and-oauth
