Is OpenID Connect ID tokens quantum safe?

The sources listed on this page tie OpenID Connect ID token security to the signature keys that sign them and to the PKI behind them, and set migration milestones from 2028 to 2035. This page reports those positions and what identity teams should do about them.

On this page

Is OpenID Connect ID tokens quantum safe? What the published guidance says

If you issue or verify OpenID Connect ID tokens, you need a position you can cite. The NCSC's guidance 'Timelines for migration to post-quantum cryptography' (version 1.0, published 20 March 2025) and BSI's post-quantum guidance both treat ID token signing keys as requiring migration to post-quantum signatures. NIST IR 8547, 'Transition to Post-Quantum Cryptography Standards', published as final on 27 October 2026, identifies the standards that products will need to move to. The people who must answer this question are identity, security and platform leads, because the signing key sits with the identity provider while the verification keys sit with every relying party.

The NCSC sets three milestones: by 2028 define migration goals, complete a full discovery exercise and build an initial migration plan; by 2031 carry out the early, highest-priority migration activities; and by 2035 complete migration of all systems, services and products. The NCSC also states that a system will not provide quantum-secure authentication until the migration of its PKI is complete, and that there is not yet agreement on how post-quantum signatures should be incorporated into WebPKI certificates. Confirm which of your signing and verification paths depend on that PKI before you set a date.

BSI's guidance says post-quantum schemes should where possible be combined with classical schemes in a hybrid approach, and points to BSI TR-02102-1 version 2026-01 as the current technical guideline. BSI also notes that signatures usually only need to remain secure in the short term, but that signature keys with long validity periods need a timely change, with migration periods factored in. For ID tokens, that means checking the lifetime of each signing key. The standard for signing JOSE objects with ML-DSA is RFC 9964, which registers ML-DSA-44, ML-DSA-65 and ML-DSA-87 as optional algorithm values. Ask your identity provider and each relying party whether they support these values, and test the combination before you rely on it.

What each body has published on ID token signing

This table compares what the NCSC, NIST, BSI and the IETF have published that bears on signature keys, PKI and migration milestones for signed identity tokens. Read each row as the sourced position for one body, with its dates, and note that none of these documents addresses OpenID Connect ID tokens directly. Confirm how your identity provider signs ID tokens before applying any of these milestones to your deployment.

Body and documentPosition on signature keys and PKIMilestones or dates stated
NCSC, timelines for migration to PQC (version 1.0)Says a system will not provide quantum-secure authentication until its PKI migration is complete, and that certificate-based PKI will follow more slowly than key-asset confidentiality services. Says there is not yet agreement on post-quantum signatures in WebPKI certificates.Published 20 March 2025. By 2028: define goals, discovery and an initial plan. By 2031: early priority migration. By 2035: migration of all systems, services and products complete.
NIST IR 8547, final (Transition to Post-Quantum Cryptography Standards)Identifies quantum-vulnerable standards that products will need to move away from and the post-quantum standards they will need to move to. The sources listed on this page do not give a signature-specific milestone for ID tokens.Final version published 27 October 2026, obsoleting the initial public draft of 12 November 2024. Supports Executive Order 14412 and OMB Memorandum M-26-15.
BSI, post-quantum cryptography page (TR-02102-1)Says post-quantum cryptography will be used by default and should be combined with classical schemes in a hybrid approach where possible. Notes that signatures usually only need security in the short term, but that signature keys with long validity periods need a timely change with migration periods factored in.Current technical guideline listed as TR-02102-1 version 2026-01. The page sets no fixed calendar milestone in the sources listed here.
RFC 9964 (Proposed Standard, May 2026)Defines JOSE serializations for ML-DSA and registers ML-DSA-44, ML-DSA-65 and ML-DSA-87 as JOSE algorithm values, marked optional. Introduces the Algorithm Key Pair key type with alg, pub and priv parameters.Published May 2026 by M. Prorock and O. Steele. Proposed Standard status; it sets no migration deadline.

Why ID token signatures fall under the migration guidance

An OpenID Connect ID token is a signed statement that an identity provider makes about a user, and the relying party checks that signature before it trusts the token. The signature is produced with a private key held by the identity provider, and the matching public key is published so that anyone can verify it. That signing key does not sit alone. It is bound to the identity provider through the public key infrastructure, or PKI, that the verifying side relies on, so the question of whether the token holds up against a quantum computer is partly a question about how that PKI is built and when it will be migrated. Teams should start by listing which signing keys their identity provider uses to sign ID tokens and which key material their relying parties use to verify them, and by confirming with the vendor or project which algorithm each key uses.

The UK National Cyber Security Centre (NCSC) states that a system will not provide quantum-secure authentication until migration of its PKI is complete. This is the reason ID token signatures fall under the migration guidance rather than being treated as a separate, already-solved problem. The NCSC also notes that there is not yet agreement on how post-quantum signatures should be incorporated into WebPKI certificates, and that certificate-based PKI will follow more slowly than the protection of confidentiality keys. Identity teams should therefore plan for the PKI migration to be a dependency of their token signing, and should ask their identity provider when the signing keys and certificates will move, instead of assuming the change is already in place. Confirm the migration milestones against the NCSC's migration timelines.

The German Federal Office for Information Security (BSI) makes a point that bears directly on token signatures. Its guidance says that signatures usually only need to be secure in the short term, which is why signatures are generally less urgent than key agreement, where store now, decrypt later is a concern. BSI adds that signature keys with long validity periods also need a timely change, with migration periods factored in. For ID tokens, the practical check is the lifetime of the signing key and the lifetime of any certificate that binds it, because a long-lived key or certificate is the case the BSI guidance singles out. Ask your identity provider how long its signing keys remain valid and how it will rotate them, and review the BSI guidance on quantum technologies and post-quantum cryptography for the wording.

Where OpenID Connect ID tokens rely on public-key signatures

An ID token is only as trustworthy as the signature that binds it to an issuer's key. The sources below describe the signing key, the published verification keys, the relying parties that check them, and the certificates that tie keys to identities, and they show where the guidance is still open.

The OP's token signing key

The OpenID Provider signs each ID token with a private key it holds. That key is the root of trust for every token it issues, so it is the first place a migration plan needs to reach. NIST IR 8547 identifies which existing public-key standards products must move away from and which post-quantum standards they should move to, so a provider should check its signing algorithm against that list. BSI notes that signature keys have a shorter security requirement than key-agreement keys, but it also says that signature keys with long validity periods still need a timely change.

NIST IR 8547

The JWKS endpoint publishing verification keys

Relying parties fetch the provider's public keys from its JWKS endpoint to verify ID token signatures. Changing the signing algorithm means publishing new key entries there, and clients must be able to read them. RFC 9964 defines how ML-DSA keys are represented in JWK form using the Algorithm Key Pair key type, with the parameters alg, pub and priv. Whether a given OpenID Connect deployment can publish and consume those entries depends on the software in use, so confirm that support before rollout.

RFC 9964

Relying parties that verify signatures

Every application that accepts an ID token checks its signature against the published keys. Those relying parties must support the same algorithm the provider signs with, or they cannot verify new tokens. The sources do not state how relying party libraries will adopt post-quantum signature algorithms, so teams should ask their library maintainers for the supported algorithm list and the release that adds it. Each relying party should be inventoried so none is missed during migration.

Certificates binding keys in the PKI

Where a provider's signing key is attested through a certificate chain, the certificates also depend on public-key signatures. NCSC states that a system will not provide quantum-secure authentication until its PKI migration is complete, and that certificate-based PKI will follow more slowly than confidentiality services. NCSC also states that there is not yet agreement on how to incorporate post-quantum signatures into WebPKI certificates. Teams should confirm with their certificate authority what post-quantum options it offers.

NCSC PQC timelines

Long-lived signing keys

A signing key that stays in use for years creates exposure that a short-lived key does not. BSI states that signature keys with long validity periods need a timely change, with migration periods factored in. NCSC sets 2035 as the milestone to complete migration of all systems and products. Providers should identify which signing keys have long validity periods and plan their rotation ahead of that milestone, using the phases in the NCSC timeline.

BSI quantum page

ML-DSA in JOSE as an optional alg

RFC 9964 registers ML-DSA-44, ML-DSA-65 and ML-DSA-87 as JOSE alg values, and marks them as optional to implement. An issuer that adopts one of these values must confirm that its relying parties can process it, since the implementation requirement does not oblige every library to support it. The RFC also defines how these signatures are serialized in JOSE, but the sources do not say how OpenID Connect deployments should select among the three parameter sets. Check the specific parameter set against the provider's and relying parties' documentation.

RFC 9964

What the sources say about long-lived signing keys and tokens

The sources do not set a lifetime for OpenID Connect ID tokens. What they address is the signing key behind them. BSI's post-quantum guidance says that signature keys with long validity periods need a timely change, with the time needed for migration factored in. Signatures usually only need to remain secure for a short period, which is why BSI treats key-agreement schemes as the first threatened. An identity provider that signs ID tokens with a key valid for many years therefore has a longer exposure than one that rotates keys frequently. The reader should check the validity period of each signing key their provider uses, and the date by which that key must be replaced.

NCSC's timelines guidance sets a 2035 milestone for completing migration of all systems, services and products, and it notes that certificate-based PKI will follow more slowly than the confidentiality services that will become available first. NCSC also states that a system will not provide quantum-secure authentication until its PKI migration is complete, and that there is not yet agreement on how post-quantum signatures should be incorporated into WebPKI certificates. For an OIDC deployment, the practical question is whether the signing keys are published through a certificate chain or a JWK set, and whether the identity provider's vendor has committed to a post-quantum signing path. Ask the vendor which algorithms it plans to offer, and confirm which versions and configurations are affected before planning a key rotation.

What the guidance says to use instead for ID token signatures

ML-DSA is the signature scheme in NIST FIPS 204, one of the three post-quantum algorithms that NCSC says will be the most widely used. NCSC states that NIST standardised it in 2024. It is the general-purpose post-quantum signature option named in the sources, and the one most relevant to signing ID tokens. The IETF has begun defining how ML-DSA appears in JOSE, which is the format family JWTs and ID tokens use.

  • Standardised: NIST standardised ML-DSA in 2024 as FIPS 204, according to NCSC.
  • JOSE definition: RFC 9964, a Proposed Standard published in May 2026, defines JOSE serializations for ML-DSA.
  • Algorithm values: RFC 9964 registers ML-DSA-44, ML-DSA-65 and ML-DSA-87 as JOSE alg values, with implementation requirement 'Optional'.
  • Key type: RFC 9964 introduces the Algorithm Key Pair (AKP) key type, whose JWK parameters are alg, pub and priv.
  • Migration context: NCSC's 2035 milestone expects migration of all systems, services and products.

Confirm that your identity provider and relying parties support the exact ML-DSA parameter set and JOSE encoding they will use before planning rollout.

What identity teams should do, in order

This sequence gives identity teams a dated, evidenced view of which OpenID Connect signing keys need a post-quantum plan and when. It ends with a written vendor position and a record that auditors and customer reviewers can check.

  1. Inventory every signing key and JWKS endpoint

    Identity and platform engineers list every key that signs ID tokens, including keys held by the identity provider, keys held by any self-hosted issuer, and keys held by libraries that sign tokens on your behalf. For each key, record its algorithm, where it is stored, and the JWKS endpoint that publishes its public half to relying parties. The step is complete when every issuer and every relying party that fetches keys from those endpoints appears in one inventory. Keys you cannot locate are a finding in their own right.

  2. Map key lifetimes to NCSC and NIST dates

    Security leads compare each key's rotation schedule and validity period with the migration milestones in NCSC's timelines guidance: defining goals and an initial plan by 2028, early highest-priority activities by 2031, and completing migration by 2035. They also check the dates in NIST IR 8547, the final version of which was published on 27 October 2026. Keys with long validity periods need an earlier change than short-lived keys, as BSI notes for signature keys. The output is a short table linking each key to the milestone it must meet.

  3. Ask vendors whether they support ML-DSA

    Procurement and identity leads send each identity provider and token library vendor a written question: do you support ML-DSA signatures in JOSE form as defined in RFC 9964, and if so, from which version? RFC 9964 registers ML-DSA-44, ML-DSA-65 and ML-DSA-87 as JOSE algorithm values, but marks their implementation as optional, so support cannot be assumed. Ask also how keys are represented, since RFC 9964 introduces the AKP key type with alg, pub and priv parameters. Record each reply with its date. Confirm with the vendor that a named version interoperates with your relying parties before relying on it.

  4. Plan the change with hybrid options

    Architects decide how each key will move to a post-quantum scheme, and where BSI's guidance applies they favor a hybrid approach that combines a post-quantum scheme with a classical one. BSI's technical guideline, TR-02102-1 version 2026-01, is the reference for that choice. Sequence the work so that keys with long validity periods change early, and confirm that each relying party can validate the new format before the old key is retired. The step is complete when each key has a named owner, a target milestone, and a documented rollback path.

  5. Record the position for auditors and customers

    Security and compliance leads write a dated record that states which keys are in scope, which milestone each one must meet, what each vendor has confirmed in writing, and what remains open. Keep the inventory, the vendor replies, and the migration plan together so that the record can be produced for an internal audit or a customer security review. Review the record whenever a key changes, a vendor replies, or NIST or NCSC publish new guidance. The record shows the current state of the work, and it does not certify that the tokens are quantum safe.

Claims readers meet about ID tokens and quantum attacks, and what the sources say

Readers often arrive with a single fix in mind, such as changing the token format or enlarging a key. The sources below show that the signing algorithm, the verification keys and the surrounding PKI each affect the answer, so no single change settles the question.

Switching the token format fixes the risk

A common belief is that moving from one token format to another removes quantum exposure on its own. The format is only the wrapper. What matters is the signature algorithm inside it and the keys used to verify it. RFC 9964 defines how ML-DSA signatures are serialized in JOSE, which is a serialization rule, not a statement that a deployment is protected. Check which algorithm your identity provider signs ID tokens with, and whether relying parties can verify the new one.

RFC 9964

A larger RSA key settles it

Some teams assume that increasing an RSA key length keeps ID tokens safe for the long term. The sources do not support that. NCSC's timelines describe a migration of public-key systems to post-quantum algorithms by 2035, with the aim of deprecating most quantum-vulnerable public-key cryptography. Confirm the migration date your regulator or sector expects, and plan the change to ML-DSA or another standardized scheme rather than relying on key length.

NCSC PQC timelines

Signatures need the same urgency as key exchange

Readers often assume signatures and key agreement face the same deadline. BSI notes that key-agreement schemes are the first threatened, and that signatures usually only need to be secure in the short term. It adds that signature keys with long validity periods still need timely change, with migration periods factored in. For ID tokens, check the validity period of each signing key and how long a token must remain verifiable.

BSI quantum technologies

Store now, decrypt later does not apply to tokens

Readers sometimes conclude that ID tokens are safe because they are short-lived and not stored. BSI presents store now, decrypt later as a threat to long-term confidentiality, which applies most to recorded key exchange rather than to a signed assertion. A signature forged after the fact still matters if a relying party accepts it. Review what your logs retain and how long tokens stay valid, instead of assuming expiry removes the exposure.

Post-quantum signatures are settled for web PKI

Some readers assume that a standard exists for every certificate path, including the ones that bind token signing keys. NCSC states there is not yet agreement on how to incorporate post-quantum signatures into WebPKI certificates. Until that is settled, a system does not provide quantum-secure authentication until its PKI migration is complete. Ask your identity provider how its signing keys are issued and whether the certificate chain is part of the migration plan.

Questions people ask about OpenID Connect ID tokens and quantum safety

Does a larger signing key make OpenID Connect ID tokens quantum safe?

No. The sources supplied for this page do not say that increasing key length makes an ID token quantum safe. The relevant guidance concerns replacing the public-key algorithm, not adding bits to a quantum-vulnerable one. NIST's final NIST IR 8547, published on 27 October 2026, identifies the quantum-vulnerable standards that products need to move away from and the post-quantum standards they need to move to. Your identity provider's signing algorithm is the setting to check, and the change is a move to a standardised post-quantum scheme rather than a longer key. Confirm the current guidance in the NIST document directly.

Must we replace ID token signing keys now?

The published guidance sets dates rather than an immediate deadline for ID token signing keys. The UK NCSC's timelines, version 1.0 published 20 March 2025, set milestones of 2028 for planning and discovery, 2031 for early priority migration, and 2035 for completing migration of all systems. NCSC also states that a system will not provide quantum-secure authentication until its PKI migration is complete. BSI notes that signatures usually only need to be secure in the short term, but that signature keys with long validity periods need a timely change with migration periods factored in. Your key lifetimes and token validity determine how early you should plan.

Which post-quantum algorithm would replace the current ID token signature?

For signatures, NCSC states that ML-DSA (FIPS 204) and SLH-DSA (FIPS 205) were standardised by NIST in 2024, and that LMS and XMSS (NIST SP 800-208) supplement two earlier algorithms with a more limited set of uses. RFC 9964, a Proposed Standard from May 2026, defines JOSE serializations for ML-DSA and registers ML-DSA-44, ML-DSA-65 and ML-DSA-87 as JOSE alg values, with implementation requirement 'Optional'. It also introduces the Algorithm Key Pair (AKP) key type with the JWK parameters alg, pub and priv. Check whether your identity provider and relying parties support these values in their current versions before assuming interoperability.

Is our user data at risk from quantum attacks on ID tokens today?

The sources supplied for this page do not state that ID token signatures are exposed to a present attack. BSI describes 'store now, decrypt later' as a threat to long-term confidentiality and says key-agreement schemes are the first threatened. BSI also says signatures usually only need to be secure in the short term. The main question for ID tokens is how long a signature must stay valid for verification and whether a forged token could be accepted later. Assess your token lifetimes and the sensitivity of the claims they carry, and separately check the confidentiality of the TLS and key-exchange paths that carry them.

Can our team migrate ID token signing ourselves?

Your team can do the work if it has the skills and time, and the sources do not give an effort figure. The NCSC milestones suggest the first step is a full discovery exercise, which means listing every place your identity stack uses public-key signatures, including the identity provider, relying parties, JWKS endpoints and any SAML assertions. Tasks include checking vendor support for post-quantum algorithms, updating key formats and testing verification in every consuming service. DeployOpen plans, implements and tests self-hosted identity components in your infrastructure on a fixed scope agreed in writing, and prepares the evidence your compliance team needs. A quote follows from that written scope.

What should we ask our identity vendor about post-quantum ID tokens?

Ask whether the product supports any post-quantum signature algorithm for ID tokens, and in which version and edition. Ask whether it can run hybrid signatures alongside a classical algorithm, since BSI recommends combining post-quantum and classical schemes where possible. Ask which key types it uses for JWK publication and whether it implements the AKP key type defined in RFC 9964. Ask for its migration timeline and how it will support key rollover without breaking relying parties. Ask whether any published validation or certification covers the post-quantum functionality, and if so, which module, version and issuer it names. The sources do not say what individual vendors have published, so get written answers.

Does NCSC or NIST say when the ID token signature algorithm must change?

NIST's final IR 8547, published 27 October 2026, is the reference for which quantum-vulnerable standards products must move from and which post-quantum standards they must move to. NCSC's milestones run to 2035 for completing migration of all systems, services and products, and NCSC notes that a small set of more rarely used technologies may find migration by 2035 more difficult. The sources do not give a single date for ID token signatures specifically. Read the NIST document and the NCSC timeline together, then set your internal deadline from your own token lifetimes and risk assessment.

The dates the guidance sets for migrating ID token signing

This timeline runs left to right through the milestones that bear on ID token signing. NCSC's migration timelines set three checkpoints: by 2028 an organization defines its migration goals, completes discovery and drafts an initial plan; by 2031 it carries out the early, highest-priority migration work; and by 2035 it completes migration of all systems, services and products. NIST's final IR 8547, published on 27 October 2026, identifies the quantum-vulnerable standards and the post-quantum standards products will need to move to. BSI's technical guideline, BSI TR-02102-1 version 2026-01, is the German reference that recommends hybrid combinations of classical and post-quantum schemes. Check each date against the source document, since the sources do not tie these milestones to any specific OpenID Connect or JWT signing change.

NCSC, NIST and BSI milestones that bear on migrating ID token signing.

How DeployOpen works on this

DeployOpen approaches the question of whether OpenID Connect ID tokens are quantum safe as an inventory and migration task inside your own identity platform. We scope which signing keys, identity providers and relying parties are in play, then plan the work against the NCSC milestones and NIST guidance that apply to your environment.

How we scope

  • We inventory which ID token signing algorithms and keys your identity provider and relying parties use today.
  • We map where signature verification happens, including services, gateways and third-party integrations that consume your tokens.
  • Engagements are fixed-scope, with scope and deliverables agreed in writing before any work starts.

How we build

  • We configure the self-hosted identity platform in your infrastructure, reviewing key management and rotation settings.
  • We test token issuance and verification in a staging setup before any change reaches production.
  • We check that the chosen algorithms are supported by the libraries and versions your relying parties run.

How we hand over

  • You receive a written record of the algorithms, key inventory and configuration changes made during the work.
  • We document the open items that depend on vendor or standards updates, such as signature support in WebPKI certificates.
  • Your security and compliance teams get the evidence they need to review the setup themselves.

How we support

  • Ongoing support and upgrades can be arranged as a retainer, so the setup keeps pace with the standards as they change.
  • We can repeat testing as identity providers and client libraries release new versions.
  • Ask us to confirm compatibility for the specific versions and editions your deployment runs before you rely on any change.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.