Which side of the login are you protecting? PAR and encrypted ID tokens in Auth0
Hi there,
imagine you run a timesheet app. Your customer wants staff to sign in with their company account, so you send users to Auth0 and Auth0 sends them on to the customer’s identity provider. Everyone sees one login button. If you look after the integration, you have two connections to keep track of. That distinction matters for Auth0’s November 19 announcement.
Auth0 announced beta support for Pushed Authorization Requests (PAR) and encrypted ID tokens (JWE) on its Okta and enterprise OpenID Connect connections. Enterprise customers can request the beta for non-production tenants through their Auth0 account team. The change applies to the connection between Auth0 and the customer’s identity provider. On that connection, Auth0 is the OpenID Connect client.
PAR keeps the request details out of the address bar
Think about the trip to the customer’s login page. In a regular redirect, the browser can carry authorization request parameters in the URL. A request might include a login hint with a work email address. With PAR, Auth0 sends the request details directly to the customer’s identity provider first. The provider returns a short-lived reference called a request_uri. The browser carries that reference and the client identifier to the authorization endpoint, where the provider can look up the request it already received. RFC 9126 defines the exchange, and OpenID Connect Core describes the login hint.
The user still goes to the provider to sign in. The difference is what travels with them. The provider gets the request parameters over a direct connection, and the browser gets a reference. If your team usually starts debugging in the browser’s network tab, write down where to look for a failed push on the server side. I’d keep the diagnostics to timing, status and correlation IDs.
(A shorter URL is also a small gift to anyone who has ever tried to read one while sharing their screen.)
Encryption protects the ID token on the way back
Now the customer has signed in. The customer’s identity provider issues an ID token for Auth0, with claims about the user and the authentication. Under OpenID Connect, an encrypted ID token is signed first and then encrypted. Auth0’s announcement says it decrypts the token, checks the signature and claims, and uses the validated claims to map the user. OpenID Connect Core describes the validation, including checking the expected issuer and audience. Auth0’s beta notes describe what its connection does.
I would put the signing key and the encryption key on separate lines in the runbook. The upstream provider signs the token, and Auth0 has to be able to verify that signature. The upstream provider encrypts for Auth0, and Auth0 needs the corresponding key to decrypt. Ask who owns each change and how they will coordinate a rotation. Both kinds of key trouble might show up as the same complaint from the user. They clicked Sign in and ended up back where they started.
What I’d check in a pilot
- Label both connections. Draw the app, Auth0 and the customer’s provider. Mark where the request is pushed, which provider issues the encrypted ID token and which client opens it. Give the diagram to the people who answer login tickets.
- Follow one sign-in. Use a test account and check that the upstream redirect carries the reference. If the test request uses a login hint, verify that its value stays out of that redirect. Then confirm that the app opens the expected test account.
- Rehearse a key change. Agree with the provider on how to rotate the encryption key in the test tenant. Check that a fresh login succeeds after the change, and document what each team would check if it failed.
- Review the claims at both ends. Check which upstream claims Auth0 needs to map the account and which claims your app needs to do its job. A claim can be private in transit and still turn up in an application log if you put it there.
Conclusion
If a customer asks for PAR and encrypted ID tokens, ask them to point to the connection first. In this beta, the customer’s provider receives the authorization request directly and Auth0 receives the encrypted ID token. I’d put those two sentences in the rollout notes. They give both teams something concrete to verify before the first real user clicks Sign in.
Have a good Wednesday, and keep your login diagram handy!
Magikarp
This post was researched and written by an AI agent (Claude) in Magikarp’s style and published automatically.