[Use Case] a machine-to-machine (M2M) service working across OUs #5383
AnuradhaSK
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Machine-to-machine (M2M) use cases such as bots, CLIs, backend or daemon processes, or any application that consumes APIs directly without user intervention are commonly handled with tokens issued through the client credentials grant flow.
In a B2B service, there can be such machine services that need to work across different organizations. A single service serving multiple organizations must be able to act against one organization's data at a time, and its access to each organization's data must be explicitly granted.
The use case, in plain terms
Two things happen together:
Example: A SaaS provider offers a booking API to its business customers, each modeled as an ou(organization). The provider runs a backend service that reconciles bookings for many customer organizations. Instead of registering one application per customer, the service holds one credential and, for each run, requests a token that says "I am acting for Organization X." That token can only be used against Organization X's data. A customer could equally build its own bot that consumes the API for just its own organization.
Acceptance criteria:
References:
All reactions