Is OpenID Connect affected by post-quantum cryptography?
Yes. OAuth and OpenID Connect depend on public-key signatures for ID tokens, access tokens and private_key_jwt client authentication, and on TLS for every endpoint, so post-quantum signature and key exchange work reaches each of them. If you run an identity team, the question is not whether the protocol changes, but which of your signing keys, client keys and TLS configurations will need replacing and in what order. Authorization servers that sign ID tokens and access tokens, relying parties that verify them, resource servers that check access tokens, and clients that hold signing keys or register public keys are all affected. Any of these parties can be the one that has to move first.
The specifications matter here in specific ways. OpenID Connect Core section 3.1.3.7 requires clients to validate ID Token signatures using the algorithm in the JWT alg header, and only skips that check when the token comes directly from the Token Endpoint over TLS. RFC 9068 requires access tokens in JWT form to be signed, and says resource servers must accept any key published at jwks_uri because the profile has no way to name a specific key. RFC 7523 covers the private_key_jwt assertion used for client authentication, and OpenID Connect Core section 9 requires those clients to sign with a registered public key. Symmetric signatures, which carry no public-key dependency, are barred for public clients by section 10.1, so the sensitive paths are the asymmetric ones you already run.
Where do OAuth and OpenID Connect use public-key algorithms today?
This table lists each place OAuth and OpenID Connect use a public-key algorithm, the default or required algorithm where the sources give one, and whether a post-quantum signature or key exchange would touch it. Rows marked as touched are the ones an identity team must plan for, while rows that use HMAC or other symmetric keys fall outside that change. Read the last column as a planning signal, not as a compliance result.
| Place | Algorithm today | Touched by post-quantum signatures or key exchange? |
|---|---|---|
| ID token signatures | RS256 by default, or the algorithm the client sets in id_token_signed_response_alg | Yes, signature |
| JWT access tokens (RFC 9068) | Signed with asymmetric keys, with RS256 required on conforming servers | Yes, signature |
| private_key_jwt client authentication | Client signs a JWT with its registered private key (RFC 7523) | Yes, signature |
| client_secret_jwt client authentication | HMAC SHA keyed with the client_secret, not public-key cryptography | No, HMAC is symmetric |
| DPoP proof keys (RFC 9449) | Asymmetric JWS algorithm, with ES256 and a P-256 key in the RFC example | Yes, signature |
| Authorization and token endpoints | TLS, which MUST be required on both endpoints (RFC 6749) | Yes, key exchange in TLS 1.3 |
| jwks_uri endpoint | Publishes public signing keys over https, which MUST be used (RFC 8414) | Yes, TLS key exchange and the published key types |
| Redirection endpoint | TLS SHOULD be required for code and token responses (RFC 6749) | Yes, key exchange in TLS 1.3 |
What has the IETF and OpenID Foundation published on post-quantum OIDC?
The most direct answer for OpenID Connect is RFC 9964, published in May 2026 on the IETF Standards Track. It defines how ML-DSA, the signature scheme specified in NIST FIPS 204, is used in JOSE, with the JOSE alg values ML-DSA-44, ML-DSA-65 and ML-DSA-87. It also defines the JWK key type AKP (Algorithm Key Pair), which requires an alg parameter on every key and carries the public key in pub. Teams that sign ID Tokens or validate JWK Sets should read the key type and size table in the RFC, since the public keys and signatures are much larger than RSA or EC keys of the same use. On 17 September 2026 (corrected in October 2026), the OpenID Foundation published a post, Post-Quantum OpenID Connect, that links RFC 9964 as the standard enabling ML-DSA signatures for OpenID Connect and treats that work as done.
The OpenID Foundation treats that as a standards position, not a product statement. No document named here certifies any product, library or identity server as post-quantum ready. A reported JWKS test in openid/connect issue 2153 found that 19 of 46 libraries with a real JWK Set parser failed the whole key set when it contained one AKP key next to RSA and EC keys. Before relying on an ML-DSA key in a discovery document or JWKS, confirm that each relying party and library on your path parses AKP keys and that a mixed key set does not break validation.
The transport layer is the other half of the picture. RFC 10024, published in August 2026 on the Standards Track, defines TLS 1.3 hybrid groups, including X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024, and marks only X25519MLKEM768 as Recommended in the IANA registry. The OpenID Foundation says migrating to post-quantum TLS should be a priority, because post-quantum key exchange addresses harvest-now-decrypt-later attacks, where recorded traffic is decrypted later. Authorization, token and resource endpoints all depend on TLS, so the TLS configuration of each component should be part of the same plan.
Which libraries and identity servers have shipped ML-DSA support?
Identity servers are the authorization servers and OpenID Providers that sign ID tokens and access tokens and publish their keys through a jwks_uri. For these products, ML-DSA support means the server can generate or load an AKP key, sign with ML-DSA-44, ML-DSA-65 or ML-DSA-87, and publish the public key where relying parties can read it. The sources supplied for this page report one shipped example, and the rest of this tab describes what that example does and does not cover.
- Authelia 4.39.21: Authelia released version 4.39.21 on 3 September 2026. According to Authelia's post-quantum cryptography page, it supports ML-DSA-44, ML-DSA-65 and ML-DSA-87 JOSE signatures for response objects.
- Request objects: The same page says Authelia supports request objects of almost all types in its OpenID Connect and OAuth 2.0 features with these ML-DSA algorithms. The word "almost" matters, so confirm each request object type your clients send against the page before relying on it.
- What this covers: Response signing is the part that determines whether a relying party can verify tokens signed with ML-DSA. Request object support determines whether signed client requests can use the same algorithms.
- What the sources do not say: The supplied sources do not name any other identity server that has shipped ML-DSA signing for OpenID Connect or OAuth tokens. The absence of a listing here is not evidence that a product lacks support.
Before you change a signing algorithm, check the release notes and configuration reference for your exact server version, and test a key rollover in a non-production tenant. Confirm the discovery document lists the new algorithm in id_token_signing_alg_values_supported and that the relying parties you serve can read the published keys.
Libraries sit inside almost every OAuth and OpenID Connect deployment. Your application uses one to parse the JWK Set from jwks_uri, select a key by kid, and verify a JWS signature. A library that does not know the AKP key type, or that rejects a set when it meets an unfamiliar key, can break verification for the whole set. The sources supplied for this page report one test result for libraries, and the findings below come from that test.
- The JWKS test: openid/connect issue 2153 reports a test of JWK Set parsers. It found that 19 of the 46 jwt.io libraries that have a real JWK Set parser failed the whole key set when it held one ML-DSA key of type AKP next to RSA and EC keys.
- Why whole-set failure matters: If one key in a published set causes the parser to fail, verification can stop for tokens that use the RSA or EC keys in the same set. A rollover that adds an AKP key can therefore disrupt existing traffic.
- Scope of the finding: The issue describes a parser test at one point in time. It does not say which library versions were tested, so check the current behaviour of the exact version you run.
- No other listed support: The sources supplied for this page list no other library with shipped ML-DSA support. Do not treat a library as supported because it parses JWKs in general.
- Algorithm handling: Parsing a key and verifying a signature are separate steps. A library may load an AKP key while still refusing the ML-DSA algorithm name in the JWS header.
Test your own library versions with a JWK Set that contains an AKP key next to your current RSA and EC keys. Check that existing keys still verify, that the new key is either accepted or cleanly rejected, and that a token signed with ML-DSA verifies with the algorithm named in the alg header.
What grows and breaks when ML-DSA keys enter a JWKS?
Adding ML-DSA signing keys to a JSON Web Key Set changes the size of tokens and keys, and it changes how existing parsers behave when a set contains a key type they do not recognize. The four points below cover size, the RS256 baseline, parser failure across the whole key set, and the AKP key format rules.
ML-DSA-65 keys and signatures
ML-DSA-65 is the middle parameter set of the ML-DSA signature scheme defined in NIST FIPS 204. Its public key is 1952 bytes and its signature is 3309 bytes. RFC 7518 defines RS256 as the recommended RSA signature algorithm, but the sources supplied for this page do not give RS256 key or signature sizes, so compare against your own RSA key and signature lengths before sizing tokens or header limits.
RFC 9964 sizesML-DSA-44 and ML-DSA-87 sizes
The other two parameter sets have different trade-offs. ML-DSA-44 has a 1312-byte public key and a 2420-byte signature. ML-DSA-87 has a 2592-byte public key and a 4627-byte signature. Choosing a level therefore sets how much each JWT and each JWKS entry grows, so test the largest signature you plan to issue against any header or cookie size limit in your stack.
- ML-DSA-87 signature
- 4627 bytes
One AKP key can break the set
A test reported in openid/connect issue 2153 found that 19 of the 46 jwt.io libraries with a real JWK Set parser failed the whole key set when it held one ML-DSA key of type AKP alongside RSA and EC keys. In practice, a resource server that fails on one unknown key can reject tokens signed with RSA or EC keys that were already working. Test each relying party against a JWKS that mixes key types before publishing an AKP key.
- Libraries failing the set
- 19 of 46
AKP keys need alg and a private seed
RFC 9964 defines the JWK key type AKP and requires an alg parameter on every AKP key. The public key goes in the pub parameter. The priv parameter is a 32-byte seed that must never appear in a published key set, so confirm that your JWKS export strips it before publication. Keep the signing key in your key store and publish only the public form.
- Private seed length
- 32 bytes
How do ID token and access token checks change with an ML-DSA signature?
Signature checks on ID tokens and access tokens follow different rules, so an ML-DSA signature affects them in different ways. OpenID Connect Core section 3.1.3.7 requires a client to validate the signature of an ID Token using the algorithm named in the JWT alg header. The one exception is TLS server validation, which the specification allows as a substitute only when the ID Token comes directly from the Token Endpoint. A client that receives an ID Token through the browser, or from any source other than the Token Endpoint, must verify the signature itself. An ML-DSA token therefore needs a verifier that accepts the alg value and the key type, and the client must check that the verifier handles it.
Access tokens face a different constraint. RFC 9068 says JWT access tokens must be signed, and it recommends asymmetric cryptography, but it does not name a key for each token. Authorization servers publish signing keys through jwks_uri, and the profile has no mechanism for naming a specific key, so resource servers must accept any published key. An ML-DSA key placed in the published key set will therefore be accepted by any resource server that parses it, whether or not the operator intended that. Before publishing one, confirm that every resource server in your estate can parse the key type, and plan how a fallback key would be offered if one cannot.
The parsing risk is concrete. A JWKS test reported in openid/connect issue 2153 found that 19 of the 46 jwt.io libraries with a real JWK Set parser failed the whole key set when it held one ML-DSA key of type AKP next to RSA and EC keys. A single unsupported key can therefore take down verification for every token signed by the other keys. Ask each library and resource server vendor whether it handles AKP keys, and test a mixed key set against your actual verifiers before rollout. The sources do not say whether the failures in that test have been fixed in later releases.
What should an OAuth or OIDC team do now?
This sequence turns the question of post-quantum exposure into a dated inventory of keys, clients and endpoints, a tested list of compatibility gaps, and a rollover plan that keeps existing signing algorithms available during the transition. Each step ends with a record that the team can show to security reviewers and vendors.
Inventory every signing key and secret
The identity team lists each signing key the authorization server uses for ID tokens and access tokens, each client_secret, and each registered client that uses private_key_jwt or client_secret_jwt. For every key, record its algorithm, where it is published, and which clients and resource servers depend on it. Include the jwks_uri that publishes these keys and the TLS endpoints for the authorization, token and redirection endpoints. This step is complete when the inventory is written down with an owner named for each item, and someone outside the team has reviewed it for gaps.
Test RS256 defaults and discovery handling
The team checks how each client and resource server handles RS256 and the id_token_signing_alg_values_supported field. OpenID Connect Core says the ID Token alg SHOULD default to RS256 unless a client registered another value, and OpenID Connect Discovery says RS256 MUST be included in that list. Test each component to see whether it rejects tokens it does not recognize, and include the JWKS parsers that load your keys. Record which components fail when the key set contains a key type they do not know. This step is complete when every component has a recorded pass or fail result against these cases.
Test JWKS parsers with mixed key sets
A JWK Set that holds a key of a new type alongside RSA and EC keys can break parsers that treat the whole set as invalid. A test reported in openid/connect issue 2153 found that 19 of 46 jwt.io libraries with a real JWK Set parser failed the entire key set when it held one ML-DSA key of type AKP. Build a test JWK Set with RSA, EC and an AKP key, then load it in each library and resource server you run. Record whether the parser skips the unknown key or rejects the whole set. This step is complete when each parser has a documented result, so you know which ones need an update before a new key is published.
Ask vendors which RFC 9964 versions they ship
Send each vendor and library maintainer a written question asking which versions implement RFC 9964, which implement the ML-DSA algorithms named in FIPS 204, and whether they parse the AKP key type. Ask for the exact version numbers, the release dates and any known limitations on ML-DSA-44, ML-DSA-65 and ML-DSA-87. Authelia's documentation for version 4.39.21, released 3 September 2026, describes ML-DSA JOSE support, and other vendors should be asked to provide equivalent documentation. This step is complete when every answer is filed with the vendor, the version and the date it was given.
Plan rollover with RS256 kept in discovery
Design the key rollover so that the discovery document keeps RS256 present while a new algorithm is added. Because the Discovery spec requires RS256 in id_token_signing_alg_values_supported, a new key must be published beside the existing RSA key rather than replacing it. Plan the order in which clients move to the new key, including which clients will continue to accept RS256 tokens during the transition. The plan should also cover how the team will roll back if a resource server fails. This step is complete when the written plan names the discovery values before and after the change, the publication order for keys, and the rollback steps for each component.
Record the decision and the test results
Write down the decision to proceed, delay or limit the change, along with the inventory, the test results and the vendor answers that support it. Include the date of each test, the version of each component tested, and the name of the person who approved the decision. Store this record where the security, compliance and platform teams can find it, and link it to the rollover plan. Note what was not tested so that it appears as an open item rather than an assumed pass. This step is complete when the record is stored, reviewed by the security owner, and linked to the rollover plan.
Which risks do the sources name for OAuth and OIDC?
The sources point to four places where a post-quantum change can fail or expose data in OAuth and OpenID Connect deployments: client authentication, the redirection endpoint, key handling in relying parties, and recorded TLS traffic. Each card names what the source says and a concrete way to check your own system for it.
Client secrets in public clients
OpenID Connect Core section 10.1 says symmetric signatures MUST NOT be used by public clients because they cannot keep secrets. Any client that uses client_secret_jwt or HS256 ID token verification with a shared client_secret therefore depends on a secret it cannot protect. To check, list every registered client, mark which ones are public (no client authentication), and confirm none of them offers client_secret_jwt or relies on an HMAC key derived from a client_secret.
Redirection endpoint TLS
RFC 6749 section 3.1.2.1 says the redirection endpoint SHOULD require TLS for the code and token response types, which is weaker than the MUST it places on the authorization and token endpoints. Authorization codes and tokens delivered to a client over a non-TLS redirect are exposed in transit. To check, enumerate the registered redirect URIs and confirm each uses https, flagging any exceptions for review.
RFC 6749JWKS parsing on mixed key sets
RFC 9964 defines the JWK key type AKP for ML-DSA keys, and an issue in the openid/connect repository reports that 19 of 46 jwt.io libraries failed the whole key set when it held one ML-DSA key alongside RSA and EC keys. A relying party that rejects the entire JWKS can break token validation for every client, not only those using the new key. To check, publish a test JWKS with an AKP key next to RSA and EC keys and confirm each verifier still validates the RSA and EC tokens.
Harvest-now-decrypt-later on TLS sessions
The OpenID Foundation says migrating to post-quantum TLS should be a priority, and that post-quantum key exchange is urgent against harvest-now-decrypt-later attacks. Traffic that carries tokens, codes and client credentials can be recorded today and decrypted later if its TLS key exchange is classical. To check, identify which TLS key exchange your authorization server, token endpoint and resource servers negotiate, and whether they can offer a hybrid group such as X25519MLKEM768 defined in RFC 10024.
OpenID Foundation postWhat remains unsettled in the OAuth and OIDC post-quantum work?
The sources cited for this topic do not settle whether every OAuth profile and client library handles AKP keys. RFC 9964 defines the JWK key type "AKP" (Algorithm Key Pair), requires an alg parameter on every AKP key, and carries the public key in pub. Defining the key type does not mean each relying party, authorization server or SDK parses it. A JWKS test reported in openid/connect issue 2153 found that 19 of the 46 jwt.io libraries with a real JWK Set parser failed the whole key set when it held one ML-DSA key of type AKP next to RSA and EC keys. That single result is a reason to test your own stack, not a verdict on the ecosystem. Before rolling out ML-DSA signing, run a JWKS containing an AKP key through every library that fetches your keys, and record the exact library version that passes.
The sources also do not address how DPoP proofs (RFC 9449) and client assertion JWTs (RFC 7523, used with private_key_jwt) should use ML-DSA. RFC 9449 requires an asymmetric JWS algorithm and carries the client public key in the jwk header, with ES256 and a P-256 key in its example, but the sources do not say which alg value or key form a DPoP proof should use when the client key is ML-DSA. The same gap applies to token_endpoint_auth_signing_alg_values_supported in RFC 8414 and to the id_token_signed_response_alg choice in OpenID Connect Core. Confirm with the specifications and with your authorization server vendor which algorithms are accepted at each of these points, and do not assume that a server accepting ML-DSA ID tokens also accepts ML-DSA client assertions.
For most products in this area, the sources list no published support for post-quantum OAuth or OIDC. Authelia 4.39.21, released 3 September 2026, is the one product the cited sources report as supporting ML-DSA-44, ML-DSA-65 and ML-DSA-87 JOSE signatures, and even that support is described for response objects and most request object types in its OpenID Connect and OAuth 2.0 features. The OpenID Foundation's 17 September 2026 post, corrected in October 2026, treats RFC 9964 as enabling the work and calls it done, but a standard being published does not show that your identity server, API gateway or client SDK implements it. Verify each component against its own specification and release notes, check the library version you run rather than the project name, and plan tests for the exact flows you use before assuming any algorithm works.
What do teams search about post-quantum OAuth and OIDC?
Is OpenID Connect post-quantum?
OpenID Connect does not have a post-quantum mode of its own. It is a layer over OAuth 2.0 and JOSE, so whether ID tokens can use post-quantum signatures depends on the JOSE algorithms your stack supports and on the TLS underneath the flows. The OpenID Foundation has said that migrating to post-quantum TLS should be a priority, and that post-quantum key exchange is urgent against harvest-now-decrypt-later attacks. For signatures, RFC 9964, published in May 2026 on the IETF Standards Track, defines ML-DSA for JOSE using the alg values "ML-DSA-44", "ML-DSA-65" and "ML-DSA-87". Whether a given identity server or library accepts those values is a product question you must confirm for the versions you run.
Do RS256 tokens need to change now?
RS256 is an RSA signature and is not a post-quantum algorithm, but the sources do not set a date by which you must replace it, so the decision depends on your risk and your rollout plan rather than on a fixed deadline. OpenID Connect Discovery 1.0 requires that RS256 be included in id_token_signing_alg_values_supported, and RFC 9068 requires conforming servers to include RS256 for JWT access tokens. Those requirements mean you should expect RS256 to stay in your configuration during any transition, so plan to add post-quantum algorithms alongside it instead of removing it first. Check the current expiry and lifetime of your tokens against your own threat model before you set a schedule.
Is ML-DSA in the IETF standard?
Yes. RFC 9964, published in May 2026 on the IETF Standards Track, defines how ML-DSA, the signature scheme specified in NIST FIPS 204, is used in JOSE and COSE. It registers the JOSE alg strings "ML-DSA-44", "ML-DSA-65" and "ML-DSA-87" and defines the JWK key type "AKP", where every key carries an alg parameter and its public key in the pub parameter. The RFC's Table 1 gives sizes in bytes: ML-DSA-44 has a 1312 byte public key and a 2420 byte signature, ML-DSA-65 has 1952 and 3309, and ML-DSA-87 has 2592 and 4627. Those larger sizes affect token length, JWKS size and header budgets, so test them in your own flows.
Should we build post-quantum OAuth support in-house or get help?
The choice depends on whether your identity server or libraries already support the ML-DSA algorithms. Where they do, most of the work is configuration, key rollover and testing across clients. Where they do not, you would be adding JOSE and JWK handling yourself, which must follow RFC 9964 closely. One example of where the work lands: Authelia 4.39.21, released 3 September 2026, supports ML-DSA-44, ML-DSA-65 and ML-DSA-87 signatures for response objects and for most request object types. Cost is driven by how many clients, resource servers and custom integrations you run, and by how many key sets you must publish during rollover. DeployOpen plans, implements and tests self-hosted identity systems within a fixed written scope, so ask for a quote against your inventory.
What should we ask an identity vendor about post-quantum support?
Ask which JOSE algorithms the product signs and verifies with, and whether ML-DSA-44, ML-DSA-65 and ML-DSA-87 are supported for ID tokens, access tokens and client authentication assertions. Ask whether discovery documents and jwks_uri advertise the new algorithms through id_token_signing_alg_values_supported and token_endpoint_auth_signing_alg_values_supported, as RFC 8414 requires when private_key_jwt or client_secret_jwt is offered. Ask for the exact version that supports them, and how it handles an AKP key in a JWK Set that also holds RSA and EC keys. An issue in the openid/connect repository reported that 19 of 46 libraries with a real JWK Set parser failed the whole key set when one ML-DSA AKP key was present, so ask for test results rather than a yes or no.
Do client secrets and symmetric signatures need post-quantum changes?
Symmetric signatures are a different case from public-key signatures. OpenID Connect Core says that client_secret_jwt clients sign with an HMAC keyed by the client_secret, and that ID tokens using HS256, HS384 or HS512 are verified with the client secret named in aud. Core section 10.1 also says symmetric signatures MUST NOT be used by public clients, because they cannot keep secrets. The sources in this topic do not state a post-quantum migration path for HMAC-based client secrets, so confirm with your identity vendor and with the specifications before you rely on them. Where you use private_key_jwt, the signing key is a public-key key and falls under the ML-DSA questions above.
Does post-quantum TLS change OAuth flows?
Yes, in the sense that TLS protects the flows that carry tokens, so the key exchange underneath them matters. RFC 6749 requires TLS for the authorization endpoint and the token endpoint, and the redirection endpoint should require TLS for the code and token response types. RFC 10024, published in August 2026 on the Standards Track, defines TLS 1.3 hybrid groups X25519MLKEM768 (code point 4588), SecP256r1MLKEM768 (4587) and SecP384r1MLKEM1024 (4589), and marks only X25519MLKEM768 as Recommended in the IANA registry. Whether your servers, load balancers and clients negotiate these groups depends on their TLS stacks and versions, so check them directly.
Where do the signatures and TLS sit in an OIDC login flow?
The flow starts when the browser is redirected to the authorization endpoint, which must run over TLS. The client then calls the token endpoint over TLS and authenticates itself there, and the ID token it receives can be trusted on TLS alone only because it came directly from that endpoint. Otherwise the client checks the ID token's signature against keys fetched from jwks_uri. The resource server checks the signature on the access token using the same published keys, so each signature check needs key-set support for the algorithm in use.
Signature and TLS checkpoints across an OIDC authorization code login.
How DeployOpen works on this
DeployOpen starts by mapping where your OAuth and OpenID Connect deployment uses public-key cryptography: ID token signatures, access token signing, client authentication and the TLS channels underneath. We then plan the change around those points, keeping existing clients working while signing keys and discovery metadata are updated.
How we scope
- We inventory ID token, access token, client assertion and DPoP signing points in your authorization server and clients.
- We identify which clients are public and which use client_secret_jwt or private_key_jwt authentication.
- We record the written scope in advance, covering the systems, endpoints and deliverables included in the engagement.
How we build
- We configure signing algorithms, key sets and discovery metadata in the identity platform you run.
- We test relying parties against the new key set to confirm they validate tokens with the algorithms you publish.
- We check JWKS handling in your libraries, since some parsers reject a whole key set when one key uses an unfamiliar type.
How we hand over
- We deliver documentation of the inventory, configuration changes, key rollover steps and test results.
- We provide a rollback plan covering signing keys, discovery documents and client configuration.
- We walk your identity and platform teams through the changes so they can operate and audit the setup.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer after handover.
- We can retest client and API compatibility when libraries, identity servers or key settings change.
- Support scope and frequency are agreed in writing before the retainer starts.

