Story
Who are you? Identity and tokens
How a person signs in, what the token says, and how an agent gets an identity of its own.
ON-PREM 9 scenes 3 minutes
Scroll to move through the story. Keyboard: J next scene, K previous scene. Or press Auto-play story.
Loading the story...
- Agent Manager keeps no user list. AMS has no user table and keeps no sessions. Proof of who you are travels with each protected call to its main API, as a signed token.
- You sign in at ThunderID. The console does not check your password. It sends you to ThunderID, and you type your credentials into its login page.
- Six things the token says. Who you are (sub), which organisation (ouId and ouHandle), what you may do (scope), who the token is for (aud) and who signed it (iss).
- The token rides along. After sign-in the console holds an access token and sends it with its calls to AMS.
- AMS checks the signature. AMS fetches ThunderID's public keys and checks that the token was really signed by it. It reuses the keys for a while instead of asking every time.
- Then AMS decides what you may do. On routes that name an organisation, AMS takes it from the token's claims, not from the web address. Each route that needs a permission checks that the token's scope list contains it.
- Agents get an identity too. When an agent is created, Agent Manager makes an AgentID for it in each environment's ThunderID. The secret goes to a secret store. A platform-hosted agent's pod gets four environment variables: the client id, a reference to the secret, the token endpoint and the scopes.
- The agent shows a token to the gateway. The platform only hands the agent its variables. The agent's own code trades its ID and secret at its environment's ThunderID for a short-lived token, and shows that token to the gateway when it calls an MCP proxy.
- One idea is still a plan. Acting on behalf of a signed-in user, called OBO, is a design and is not built yet. The identity an agent can use today is its own AgentID.
Loading the story...
- Agent Manager keeps no user list. AMS has no user table and keeps no sessions. Proof of who you are travels with each protected call to its main API, as a signed token.
- You sign in at ThunderID. The console does not check your password. It sends you to ThunderID, and you type your credentials into its login page.
- Six things the token says. Who you are (sub), which organisation (ouId and ouHandle), what you may do (scope), who the token is for (aud) and who signed it (iss).
- The token rides along. After sign-in the console holds an access token and sends it with its calls to AMS.
- AMS checks the signature. AMS fetches ThunderID's public keys and checks that the token was really signed by it. It reuses the keys for a while instead of asking every time.
- Then AMS decides what you may do. On routes that name an organisation, AMS takes it from the token's claims, not from the web address. Each route that needs a permission checks that the token's scope list contains it.
- Agents get an identity too. When an agent is created, Agent Manager makes an AgentID for it in each environment's ThunderID. The secret goes to a secret store. A platform-hosted agent's pod gets four environment variables: the client id, a reference to the secret, the token endpoint and the scopes.
- The agent shows a token to the gateway. The platform only hands the agent its variables. The agent's own code trades its ID and secret at its environment's ThunderID for a short-lived token, and shows that token to the gateway when it calls an MCP proxy.
- One idea is still a plan. Acting on behalf of a signed-in user, called OBO, is a design and is not built yet. The identity an agent can use today is its own AgentID.