Using JAR with PAR
PARAn OAuth extension, RFC 9126, in which the client sends its authorization request straight to the authorization server and gets back a short-lived request_uri. The browser carries only that reference, so the parameters cannot be read or changed on the way. and JARAn OAuth extension, RFC 9101, that puts the authorization request's parameters in a signed JWT called a request object. The authorization server can then tell they came from the client and were not changed in the browser. attack the same weakness from different directions. PAR changes the route, so the request never passes through Ava's browser; JAR changes the request, so it carries a signatureA value made with a private key that lets anyone holding the matching public key check that a message came from the key's holder and has not been changed. It proves origin and integrity; it does not hide the message. wherever it goes. Neither depends on the other, and they fit together: the printer can sign its request object and push it.
Pushing a signed request
The push in Pushing an authorization request carried a Basic header with the printer's client secretA shared secret that a confidential client uses to prove itself to the authorization server, much like a password for an application. It belongs on a backend, never in code sent to browsers or phones.. Since then, the printer's registration has switched to private_key_jwt, as Building a request object described: a client that already manages a key pairA private key and a public key generated together and mathematically linked. The private key creates signatures and the public key checks them, but the private key cannot practically be worked out from the public one. to sign its requests gains little from keeping a shared secret as well, and high-assurance deployments authenticate with keys. So this push authenticates with a signed client assertion.
All domains, keys, and identifiers in these examples are fictional. The printer signs the request object from Building a request object and sends it to the PAR endpoint:
POST /par HTTP/1.1
Host: auth.photos.example
Content-Type: application/x-www-form-urlencoded
client_id=photo-printer
&client_assertion_type=urn%3Aietf%3Aparams%3Aoauth%3Aclient-assertion-type%3Ajwt-bearer
&client_assertion=eyJhbGciOiJFUzI1NiIsImtpZCI6InByaW50ZXItMjAyNi0xMCIsInR5cCI6IkpXVCJ9...
&request=eyJhbGciOiJFUzI1NiIsImtpZCI6InByaW50ZXItMjAyNi0xMCIsInR5cCI6Im9hdXRoLWF1dGh6LXJlcStqd3QifQ...Both JWTs are shortened here for display. The body looks sparse compared with the push in Pushing an authorizationDeciding whether a requested action is permitted, such as whether a signed-in account may delete a particular photo. Authentication says which account is asking; authorization decides what it can do. request, and that is the rule: apart from request, the form body carries only what client authenticationChecking evidence that someone, or some application, controls an account, such as a password or a passkey. It establishes which account is being used, not what that account may do. needs. Every parameter of the authorization request itself, the scope, return address, state, and PKCEProof Key for Code Exchange, pronounced pixie: the client creates a secret for each authorization attempt, sends only a hash of it at the start, and proves it holds the secret when redeeming the code, so a stolen authorization code is useless to anyone else. challenge, must appear as a claim inside the signed object, not as a form field beside it.
The response is the same 201 Created with a request_uri and expires_in, and Ava's browser then visits the authorization endpoint with nothing but client_id and that reference, exactly as in Using the request URI and handling failures.
What the server checks
The photo service combines the checks from both groups. It authenticates the client as it would at the token endpointThe authorization server address where clients exchange an authorization code, refresh token, or other grant for tokens, in a direct request rather than through a browser redirect. and refuses a push containing request_uri. It then decrypts the object if it is encrypted and verifies its signature with a key registered for the printer.
One check is new. Because the printer has credentials and has just authenticated, the service rejects the push if the authenticated client is not the client named by the client_id claim inside the object. Whether the object's iss must also equal the client ID is left to the service. Finally, it validates the request as an authorization request, stores it, and issues the reference.
The push carries two JWTs signed with the same key, printer-2026-10, and the service must never confuse them:
| Property | Client assertion | Request object |
|---|---|---|
| Purpose | Authenticates the printer for this push. | Carries the authorization request. |
typ | JWT, as in Secrets and signed assertions. Newer guidance recommends client-authentication+jwt. | oauth-authz-req+jwt |
iss and sub | Both photo-printer. | iss is photo-printer. No sub naming the client. |
aud | The photo service's issuer identifier. | The photo service's issuer identifier. |
| Lifetime | About a minute. | Five minutes in this example. |
Both name the printer as issuerThe party that creates and signs a token, assertion, or certificate, named in a token's iss claim. A recipient must check that the issuer is exactly the one it expected and trusts. and the photo service as audience. What keeps each from passing for the other is the typ and sub rows, as Building a request object explained.
What each part contributes
Combining the two gives each one's strengths and removes most of their weaknesses:
| Protection | PAR alone | JAR without PAR | JAR with PAR |
|---|---|---|---|
| Parameters hidden from the browser | Yes | By value only if encrypted; yes by reference | Yes |
| Parameters protected from changes | Yes, by the route | Yes, by the signature | Yes, by both |
| Client known before Ava is involved | Yes, by client authentication | Yes, by the signature | Yes, by both |
| Short browser URL | Yes | No by value; yes by reference | Yes |
| Server fetches from a client-hosted address | Never | Only by reference | Never |
| Signed evidence of the request afterwards | No | Yes | Yes |
Two rows explain why the combination is popular. PAR removes the need for the server to fetch objects from addresses that came through a browser, along with all the precautions that fetch required, because the server issues the reference itself and already holds what it points to. And JAR adds the one thing PAR cannot provide: a signature over the exact request, which the server can keep and show to someone else.
For connecting a photo account, PAR alone is often enough. The signed evidence earns its cost where someone may later need to prove what was asked for.
Why high-assurance profiles combine them
Payments are the clearest case. When the printer asks Lakeside Bank to approve Ava's 42.50 EUR photo book payment, the bank wants the request to arrive unaltered, from an authenticated client, before Ava sees an approval screen, and it wants to keep a record the printer cannot later disown. Neither mechanism delivers all of that alone.
Industry security profiles for banking and similar sectors, written by the OpenID Foundation as the Financial-grade APIAn application programming interface: a defined way for software to interact with a service. A web API offers endpoints where other programs send HTTP requests. (FAPI) profiles, show how that thinking developed. The earlier FAPI 1.0 Advanced profile required signed request objects. The FAPI 2.0 Security Profile, final since 2025, made client-authenticated PAR mandatory for every authorization request instead and does not require JAR, because a pushed request never passes through the browser where it could be read or changed. A companion profile, FAPI 2.0 Message Signing, adds signed request objects at the PAR endpoint for ecosystems that need non-repudiation. Its servers require aud to name the server's issuer identifier, an nbf no more than 60 minutes in the past, and an exp no more than 60 minutes after nbf, and its clients are asked to send the explicit typ in the printer's object.
The request is now protected from the moment the printer signs it until the photo service or the bank decides on it.
Check your understanding
Try these questions before moving on. If an answer isn't right, use the feedback and try again.
Try it in the Lab
- Push a signed request object with a client assertionPush lab-printer's signed request object to the PAR endpoint, authenticated by a client assertion from the same key, see the tenant keep the two JWTs apart, then require both protections for the printer.