U.S. Customs and Border Protection

at U.S. Customs and Border Protection

"How do we make our ID tokens post-quantum safe?"

For most of us, we don't have to.

You might think you have to wait for your OpenID Connect provider to start signing with PQ-safe algorithms, and get every client to update its JWT library to handle it. Many JWT libraries can't do that yet.

The OpenID Connect spec has a simpler answer. Section 3.1.3.7, item 6 says a client that gets the ID token from the token endpoint can use TLS server validation in place of checking the signature.

So the simpler answer is:

🔒 Update your TLS stack to PQ-safe algorithms, which you have to do anyway
🔑 Use the Authorization Code Flow with PKCE to get your ID Token from the Token Endpoint
🙈 Skip ID token signature validation entirely, since it's already handled by TLS
Terminal 3

at Terminal 3

Heathrow Terminals 2 & 3 London Underground Station

at Heathrow Terminals 2 & 3 London Underground Station

Russell Square London Underground Station

at Russell Square London Underground Station

Euston Square London Underground Station

at Euston Square London Underground Station

London Euston Railway Station (EUS)

at London Euston Railway Station (EUS)

Four Points Express By Sheraton London Euston

at Four Points Express By Sheraton London Euston

One Triton Square

at One Triton Square

Four Points Express By Sheraton London Euston

at Four Points Express By Sheraton London Euston

London St Pancras International Eurostar Terminal

at London St Pancras International Eurostar Terminal

St Pancras International Station (STP) — Southeastern HighSpeed

at St Pancras International Station (STP) — Southeastern HighSpeed

Platform 4 (Voie 4)

at Platform 4 (Voie 4)