Copyright © 2026 The OJCP Authors. Licensed under the Apache License, Version 2.0. See GOVERNANCE.md for the project's governance model.
1. Introduction
This document extends OJCP, which defines the tools, the Agent Declaration that carries a mandate, and agent identity. Implementing it is OPTIONAL: it applies only when a provider requires a user mandate.
2. User Mandates
A platform signature (OJCP: Verification) proves which software made a request. It does not prove that a person authorized that software to take a particular action. This section defines the minimum interoperable security profile for AgentDeclaration.user_mandate: a credential that binds a user’s authorization to one OJCP action and to the agent signing key that may exercise it.
User mandates are OPTIONAL. This section applies only when a provider requires a user mandate for a request. A provider that requires none, and an agent that sends none, behave exactly as elsewhere in this specification. This section fixes the security boundary every user mandate MUST satisfy; the credential’s media type and exact claim profile, a registry of action statement types, and manifest signalling are not defined by this version, and any credential that meets this profile conforms.
2.1. Definitions
- User mandate
-
A credential, carried in
AgentDeclaration.user_mandate, by which a user authorizes one agent signing key to perform one OJCP action under the constraints it discloses. - Action statement
-
The canonical
ojcp_actionobject describing the authorized action (§ 2.5 Action Statement). - Mandate-admission policy
-
A provider’s policy that determines which mandate issuers or user-rooted keys are admissible for an action (§ 2.3 Mandate Admission).
2.2. Three Claims, Three Decisions
Providers MUST treat the following claims independently:
| Claim | Typical evidence | What it proves | What it does not prove |
|---|---|---|---|
| Platform / agent identity | [RFC9421] signature and Signature-Agent (OJCP: Agent Identity)
| The verified agent platform made this request. | A person authorized the request. |
| Candidate identity | Verification Proof (OJCP Candidate Verification) or provider account flow | A verifier or provider made the stated identity claim. | That an agent may submit a particular application. |
| User authorization | Valid user_mandate admitted by the provider’s mandate-admission policy
| A user-authorized key authorized this action under the disclosed constraints. | The candidate’s civil identity, unless a separate identity flow establishes it. |
A provider MUST NOT promote a successful result in one row to a successful result in another. A Verification Proof is not a submission mandate, and a platform-signed acting_on_behalf_of value is not delegated user authority.
2.3. Mandate Admission
Cryptographic validity is necessary but not sufficient. A provider that requires a user mandate MUST have a mandate-admission policy that determines which mandate issuers or user-rooted keys are admissible for the relevant action. The policy sits outside the credential: an issuer cannot make itself authorized merely by issuing a valid credential, and a credential signed only by the agent platform’s key is never user authority.
Providers MAY admit a user-controlled key, a provider account-bound credential, or an independent identity-provider credential. A provider that must establish that the authorizing user is the named applicant MUST perform that binding through its own account, verified email, or OJCP Candidate Verification process. A newly generated public key alone proves control of the key, not a person’s legal identity.
2.4. Mandate Profile
user_mandate SHOULD be an SD-JWT Verifiable Credential ([SD-JWT-VC], [RFC9901]) in compact serialization, presented with a key-binding proof by the agent’s signing key. A mandate accepted for an OJCP action MUST convey, directly or by selectively-disclosed claims:
-
issand an issuer or user-root public-key reference; -
cnf.jkt([RFC7800], [RFC9449]), the [RFC7638] thumbprint of the agent signing key authorized to exercise the mandate — the same thumbprint the agent’s request signature carries askeyid(OJCP: Signing Profile); -
aud, the origin of the OJCP resource server that will consume the mandate. For a multi-tenant ATS this identifies the ATS endpoint, not the employer’s public website (§ 2.5.1 Multi-Tenant Resource Servers); -
iat,nbfwhen used,exp, and a uniquejti; -
an OJCP version identifier;
-
the action statement (§ 2.5 Action Statement); and
-
a revocation or status mechanism, unless the mandate has a short, provider-defined maximum lifetime and is single-use.
The credential MUST NOT carry acting_on_behalf_of or other direct user identifiers unless the provider’s matched action actually needs them. A provider MUST NOT require disclosure of a stable user identifier merely to validate delegation.
submit_application call. The mandate carries the action statement by digest; it has no status claim because it is single-use and valid for ten minutes. Values are illustrative.
{
"iss": "did:jwk:eyJjcnYiOiJQLTI1NiIsImt0eSI6IkVDIiwieCI6Ik...",
"vct": "urn:example:ojcp-user-mandate",
"aud": "https://careers.acme.com",
"iat": 1773844800,
"nbf": 1773844800,
"exp": 1773845400,
"jti": "mnd_RGBLQJ-l7qj9DiNH",
"cnf": { "jkt": "tKwHslziExQ7dQgDX2HX8q9EuvAYmS_A3SKfjNHpdX8" },
"ojcp_version": "0.1",
"ojcp_action": "sha256:f-iFWllBWhQTjicNqPPPyN25DsN5rkUQThmL2e2VahM"
}
2.5. Action Statement
A mandate binds a stable representation of the action, not an HTTP or JSON-RPC payload. The action statement is a JSON object, ojcp_action. A mandate conveys it either as the object itself or, when embedded by digest, as the string sha256: followed by the base64url encoding (without padding) of the SHA-256 hash of its JCS serialization ([RFC8785]).
| Field | Requirement | Value |
|---|---|---|
ojcp_version
| OPTIONAL | The OJCP version, when the mandate carries its version identifier here. |
resource_server
| REQUIRED | The origin of the OJCP endpoint that consumes the mandate; equal to aud.
|
employer
| REQUIRED when the resource server serves more than one employer | The employer context of the job (§ 2.5.1 Multi-Tenant Resource Servers). |
tool
| REQUIRED | The OJCP tool name, e.g. submit_application.
|
job_id
| REQUIRED | The job’s ojcp_id.
|
application_id
| REQUIRED for submit_application
| The application_id returned by begin_application.
|
agent_id
| REQUIRED | The verified agent_id (OJCP: Verification).
|
agent_key_thumbprint
| REQUIRED | The [RFC7638] thumbprint of the agent signing key; equal to cnf.jkt.
|
candidate_data_digest
| REQUIRED for submit_application
| A digest of the semantically material candidate data, defined below. |
mandate_nonce
| REQUIRED for submit_application
| The single-use nonce the provider returned with the application session (§ 2.5.2 Mandate Nonce). |
candidate_data_digest covers the semantically material candidate data sent with the request, excluding transport metadata and the mandate itself. It prevents substituting a different resume reference, screening answer, contact address, or profile after consent. Its value is sha256: followed by the base64url encoding (without padding) of the SHA-256 hash of the JCS serialization of an object whose members are the request’s application_data and candidate_context, exactly as sent; a member absent from the request is omitted.
Providers and agents MUST ignore action-statement fields they do not recognize. A provider MUST reject a mandate when a field required for the requested tool is absent or does not match the action statement the provider independently reconstructs.
{
"ojcp_version": "0.1",
"resource_server": "https://careers.acme.com",
"employer": { "ojcp_employer_id": "acme-corp" },
"tool": "submit_application",
"job_id": "careers.acme.com:analyst-2026-001",
"application_id": "app_abc123",
"agent_id": "ai.northstar.assistant",
"agent_key_thumbprint": "tKwHslziExQ7dQgDX2HX8q9EuvAYmS_A3SKfjNHpdX8",
"candidate_data_digest": "sha256:l8Kt_6K5fFTzhjg_iIYDcXjskULviQZ5h7QClTNOeqo",
"mandate_nonce": "mn_xBVlesPAiuvWDyyxUDEDzDTG"
}
2.5.1. Multi-Tenant Resource Servers
An ATS that hosts application flows for many employers separates two security properties: the recipient of the mandate, and the employer the application is made to.
-
audandresource_serveridentify the OJCP endpoint that consumes the mandate, such as an ATS tenant or a shared ATS API origin. They prevent a credential issued for one resource server from being presented to another. -
The action statement MUST also bind the employer context of the job. A multi-tenant provider MUST include
employer.ojcp_employer_idfrom the JobPosting (OJCP: JobPosting) when it is available. It MAY also include the posting’sofficial_job_urlwhen the provider has verified its association with the job. An unverified URL alone is not an authorization boundary.
{
"resource_server": "https://apply.example-ats.com",
"employer": { "ojcp_employer_id": "acme" },
"tool": "submit_application",
"job_id": "apply.example-ats.com:1234",
"application_id": "app_7f3a...",
"agent_id": "ai.example.agent",
"agent_key_thumbprint": "base64url-rfc7638-thumbprint",
"candidate_data_digest": "sha256:base64url(JCS(candidate fields and answers))",
"mandate_nonce": "provider-issued-single-use-nonce"
}
The provider MUST reconstruct both bindings from its own session state, and MUST reject a mandate that matches its endpoint but names a different employer, tenant, job, or official-job anchor. A mandate for one employer therefore cannot be reused for another employer on the same ATS.
2.5.2. Mandate Nonce
For begin_application, a provider MAY accept a mandate without application_id. When it does, the action statement MUST still bind the resource server, the employer when multi-tenant, the job, the agent signing key, the requested consent_scope, and any candidate data to be prefetched (by candidate_data_digest over the request’s candidate_context).
Before a mandate-bound submit_application, the provider MUST return an unpredictable, single-use mandate_nonce with the application session in the begin_application response. The agent binds it into the action statement for submit_application. The nonce keeps a low-entropy candidate-data digest from serving alone as a reusable or dictionary-attackable authorization handle.
2.6. Verification
A mandate binds to the agent signing key of a verified request, so a provider MUST NOT evaluate a user_mandate on a request whose agent identity has not been verified per OJCP: Verification. Such a request fails with the applicable agent-signature error code.
For a context that requires a user mandate, a provider MUST, in order:
-
Verify the credential signature and the holder proof required by its selected SD-JWT VC profile.
-
Apply its mandate-admission policy (§ 2.3 Mandate Admission); cryptographic validity alone is not sufficient.
-
Verify
aud, the time bounds (nbfwhen present, andexp), the OJCP version, and thatcnf.jktequals the thumbprint of the currently verified agent signing key. -
Reconstruct the action statement from the received request and the provider’s session state, then verify every field required for the requested tool, or the action digest.
-
Enforce the mandate’s revocation or status rule before executing the action. A mandate with no status mechanism is acceptable only within the provider’s maximum lifetime for single-use mandates.
-
Reject a mandate whose
jtiormandate_noncehas already been consumed. For a successful terminal submission, atomically record both as consumed. A retry after an indeterminate network failure MAY use the provider’s ordinary idempotency mechanism, but MUST NOT create a second application. -
Bind the acceptance decision to the application session, and invalidate it when the user revokes consent or the mandate expires.
Failure at any step MUST fail closed, and MUST NOT fall back to treating acting_on_behalf_of, a platform signature, or a Verification Proof as authorization.
2.6.1. Key Binding and Rotation
A mandate bound through cnf.jkt authorizes that exact agent signing key, not every key the agent platform may publish later. An agent’s key directory (OJCP: Key Discovery) MUST retain the mandated key until the mandate expires; key rotation does not transfer a mandate to a new key. If the old key cannot remain available for verification, the user mandate MUST be reissued for the new key. This keeps the mandate’s lifetime within the key-retention and rotation window, and avoids silently widening the user’s authorization.
2.7. Signalling and Errors
A provider that requires a user mandate MUST document the requirement in its tool descriptions. This version defines no Job Manifest field for mandate requirements.
When a context requires a user mandate and none is presented, or the presented mandate fails any step of § 2.6 Verification, the provider MUST return the standard error envelope (OJCP: Error Responses) with error_code user_mandate_required. One code covers both cases, so the response does not reveal which check failed.
The experimental USER_MANDATE_FIXTURES in the OJCP conformance suite exercise these decisions — a missing or unadmitted mandate, a platform credential or Verification Proof presented as user authority, agent-key, audience, employer, job and candidate-data mismatches, expiry, revocation, and replay. They distinguish failure classes internally to test each check; those classes are not wire error codes.
2.8. Security and Privacy Considerations
-
Hashes are not anonymization. The action statement binds hashes rather than duplicating candidate data, but a hash of low-entropy data is not safe to disclose on its own. The provider-issued
mandate_nonce, selective disclosure, short validity, and single use all contribute. Implementations SHOULD NOT log raw mandates, candidate data, or undisclosed SD-JWT claims. -
Revocation. A candidate may withdraw consent while a long-running verification or application session is pending. Once revocation takes effect, the provider MUST stop accepting the mandate and invalidate the associated OJCP session.
-
Key rotation. Rotation MUST NOT weaken agent binding. Providers SHOULD cache a mandated key only as long as the directory’s rotation and expiry rules allow, and agents MUST publish the old key for at least the full lifetime of every outstanding mandate that references it.