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
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
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.jsonMind 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 accessCheck 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/verifyRecognise 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-identityBuilding 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.