STACK
MENU

Accept requests from authorised agents

A STACK Passport lets your service verify which agent is calling, which customer or organisation is responsible for it, and what the agent has permission to do.

How requests are checked

Agent request arrives at your service
AgentWhich agent is calling.VerifiedAgent identity and signature are valid.
Operator / customerWhich organisation owns the agent and is accountable.IdentifiedThe responsible operator is named.
DelegationWhere this call sits in a chain of up to 4 narrowing hops.VerifiedThe delegation chain is valid.
Identity evidenceProof of the human behind the agent, never their PII.VerifiedThe required identity claim is present.
Service scopeWhat the agent may do, bound to specific actions and resources.In scopeThe requested action and resource are allowed.
ExpiryHow long the permission lasts.ValidThe permission has not expired.
Request accepted

Your service can act with confidence. The agent is authorised for this action, on behalf of this customer, right now.

  • Proceed with the authorised action
  • Log the decision and evidence
  • Continue the workflow
Out-of-scope requestInvalid signature, unexpected operator, invalid delegation, expired permission or an action outside the approved scope.
DeniedThe request is rejected. No action is taken.
Request denied

The agent is not authorised for this action, on behalf of this customer, right now.

How to verify

Check the signature offline

A Passport is a signed token. Your service checks the signature against STACK’s public keys, with no call to STACK for each request. Expect the issuer getstack.run and the audience stack:passport.

https://api.getstack.run/v1/.well-known/jwks.json

Mind how long a Passport lives

A Passport is valid for 15 minutes by default and 60 at most. A signature check alone cannot see a revocation, so it accepts a revoked Passport until that Passport expires.

Up to 4 delegation hops, each with the same or narrower access

Check it is still valid now

For an action that carries more risk, ask STACK. One call checks the signature, the expiry and whether the Passport has been revoked, and returns the claims. It needs no account with STACK.

POST https://api.getstack.run/v1/passports/verify

Recognise an agent on your website

A website does not receive a Passport. STACK signs the requests an agent makes to a site, to the Web Bot Auth standard, and a public address states who an agent is and whether it is active.

GET https://api.getstack.run/v1/agent-identity

Building the receiving end? Talk to us.

Passport verification is public and can run inside your service. If you are building one of these workflows, we would like to hear from you.

stack | Accept agents