You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
how do we handle FAPI1 private_key_jwt aud changes in certification tools #848
Originally submitted by josephheenan (Joseph Heenan) on 2026-06-10
As discussed in #714 the IETF updates will result in a change to the requirements on aud values.
The working group needs to decide what approach it takes, as this could require the ecosystems that use our FAPI1 tests to do a migration, even if they're not vulnerable.
Originally submitted by josephheenan (Joseph Heenan) on 2026-06-10
One possible way forward is that we run two sets of certification tests for now, one set that tests uses the current private_key_jwt aud values, and another set that test using the new values. This obviously isn't ideal from an interoperability standpoint.
We would probably need to set some kind of deprecation timeline for the older version. I'd suggest that the old behaviour should probably go away no later than the point that a post-quantum transition happens, but I'm not sure if there's an argument for it to happen sooner.
Feedback from the working group would be welcome as this is ultimately a decision for the FAPI working group to make.
Originally submitted by Nat (Nat Sakimura) on 2026-06-17
On 2026-06-10 call, Peter Stanley (OBL) wanted to flag the topic for future agenda planning rather than resolve it immediately.
Context: there is an known issue concerning private_key_jwt and audience (aud) restrictions — referenced issues #726 and #860 — and a related IETF document, draft-ietf-oauth-rfc7523bis, which Joseph Heenan reported is now in the RFC Editor queue (i.e., has passed through OAuth working group review and IESG/Area Director approval, and is awaiting final publication — timeline estimated at anywhere from a few weeks to a few months).
Peter recalled that Joseph had previously indicated the working group (rather than the certification/testing team) should have final say on how this is handled in conformance testing, and asked Joseph to confirm.
Joseph confirmed this is correct, and noted that no issue has yet been opened specifically to track the testing-approach decision (how do we handle FAPI1 private_key_jwt aud changes in certification tools #848 is related but may not fully capture the conformance-testing angle). He committed to opening a new issue and recording at least one candidate option in it.
Joseph outlined the core tension for certification: the test suite needs to know which aud value a given server actually supports in order to send a correct test request. Practical options discussed:
Continue supporting servers using the current (existing) aud value, at least for a transition period — likely necessary regardless of other decisions.
Stand up a second certification test suite/profile incorporating the new aud handling from the updated IETF draft, allowing implementers to choose between the existing suite and the new one.
Joseph noted some ecosystems are not actually vulnerable to the underlying issue, raising a policy question as to whether migration work should be forced on ecosystems that don't need it, versus allowing the current behaviour to persist for an extended period (potentially until a future post-quantum cryptography migration forces broader changes anyway). Joseph was explicit that this is a decision for the working group, not something he should determine unilaterally in his certification-team capacity.
Peter Stanley provided UK-specific context: UK banks are subject to yearly FAPI conformance attestation. Any change that forces an uplift to bank-side components carries a meaningful lead time — banks need advance notice to plan, resource, and fund the necessary work ahead of their attestation deadlines. He emphasised that any "must do X by Y" requirement needs a substantial lead-up period and proper consultation beforehand, rather than arriving as a late or sudden requirement. He noted the UK ecosystem has not yet been engaged on this topic at all, and that he would like to bring a clear, well-formed message to them once options are developed, to gather their input on preferred approaches.
The chair (Dima) thanked Peter for raising the topic and agreed the group needs to follow up, likely via Joseph raising/expanding the issue and the working group discussing options on a dedicated future call. The chair also suggested it would be useful to check on the precise publication status and content of the RFC 7523bis update before deciding next steps, since that may inform timing.
The FAPI1 final conformance suite has issued a warning if private_key_jwt with aud == issuer is rejected by authorisation servers since the Nov 2024 release.
Below is a quick summary of the UK institutions results. TL;DR is that only one bank has ever rejected such a private_key_jwt assertion (Nationwide in their Dec 2024 result) and in their next test (Jan 2026) they accepted it. So the UK ecosystem appears to be in good shape, at least for the CMA9 who are the ones that are required to certify.
I also checked fapi rw id2 results, but as far as I could see no one had certified for them since the issuer-as-aud test was added.
RFC 10070 (the former draft-ietf-oauth-rfc7523bis) was published this month. For private_key_jwt client authentication it:
requires the client to use the AS issuer identifier as the sole aud value, and not the token endpoint URL;
requires the AS to reject any client authentication JWT whose sole audience value is not its issuer identifier;
applies to client_secret_jwt as well as private_key_jwt, and updates RFC 9126 so the same rule holds at the PAR endpoint;
says client authentication JWTs SHOULD be explicitly typed with the typ header value client-authentication+jwt (or a more specific profile-defined type), and that it is NOT RECOMMENDED for servers to reject JWTs without it.
On the 9 September call we agreed the tests would warn first and fail after roughly 12 to 15 months, with ecosystems notified before enforcement. This is an update against that plan.
Where the FAPI1 tests are today
A. OP tests: the emulated client sends the token endpoint URL as aud at the token endpoint. One module sends the issuer there instead and warns if the server rejects it; that has been in place since 2024. At the PAR endpoint the issuer is already sent, and a rejection is a failure.
B. Three OP modules require the AS to accept the PAR endpoint URL, the token endpoint URL, or an array with extra values as aud. They rely on the paragraph of RFC 9126 that RFC 10070 has replaced, and will need replacing at the enforcement stage.
C. RP tests: the issuer, the token endpoint URL and (for PAR) the PAR endpoint URL are all accepted. A warning for a non-issuer aud exists at the PAR endpoint only. Extending it to the token endpoint is the warning-stage change from action 8, and it has not shipped yet.
D. typ: the tests neither send nor check client-authentication+jwt today.
Brazil results for the "issuer as aud at the token endpoint" module (production data to 14 October 2026, Open Finance and Open Insurance profiles, 212 server hostnames):
Result
Finished runs
Passed
1,902
Warning
6
Failed
10
Only one implementation is confirmed to reject the issuer (invalid_client, "aud does not match") - the most recent certification for 'Shopee'. One other warning could not be attributed. So, as with the UK numbers above, servers already accept the issuer value as 'aud'.
Questions for the WG
When does the 12 to 15 month clock start: when the RP warning ships, or earlier for servers, given they have been warned since 2024? The reasonable time seems basically 'now', so we would start enforcement in Feb 2028, and keep things as warnings until then.
Core draft 36 and FAPI 2.0 say the issuer must be a string, "not a single-element array". RFC 10070 only says "sole value". On the call we said servers should handle both; should FAPI1 clients be warned for sending a correct single element array?
FAPI 1.0 references OpenID Connect Core section 9 for client authentication, and the Core change is still a draft (errata set 3). But RFC 10070 updates PAR (RFC 9126) directly, and the IANA registrations for private_key_jwt and client_secret_jwt now reference it. Does enforcement wait for Core, or does it apply already given RFC 10070 is published? Recommend proceeding as per the timeline in '1' and not adding a dependency on OpenID Connect updates.
What do we do about typ? We did not discuss it on the call. Options are to leave it untested, or to have the OP tests send client-authentication+jwt in one module and warn if the server rejects it, and have the RP tests warn when a client omits it. I would not send it by default yet: a server that only accepts typ: JWT would fail every test. Recommendation from cert team is to proceed with a warning as we are for 'aud' checks.
CIBA has the same issue and was not covered on the call. CIBA Core draft 06 (errata set 1) already replaces the "MUST accept issuer, token endpoint or backchannel endpoint" text with the sole-audience rule, and FAPI-CIBA draft 03 notes it, but the certification tests still follow CIBA Core Final. I propose the same warning-then-failure staging there. No Brazil FAPI-CIBA server in our data rejects the issuer as the aud value at the token endpoint (nor at the backchannel endpoint).
I do wonder if we should revisit the '12 to 15 months before hard enforcement' - the sooner we align with RFC 10070, the less confusing this gets for everyone given the fragmented and differing rules we have right now. I'm honestly struggling to understand the different rules that are currently being applied at the different endpoints even when this is fresh is my head.
The evidence is already pointing towards everyone already accepting the issue value, and they are required to do so already at the back channel endpoint (from CIBA) and the PAR endpoint.
I think the 12 to 15 months should apply to 'requiring servers to reject private_key_jwt assertions when there's not a sole aud that is the issuer' (as per RFC 10070). It makes sense to phase that part and give servers time to adapt once our tests have started only sending aud==issuer everywhere they currently send token endpoint.
A related point is how we handle the typ value RFC 10070 introduces in the conformance tests.
My initial thoughts:
OP tests: Require authorization servers to accept assertions that have the new typ value
RP tests: Reject if the typ is neither blank nor the new value
For the RP test we might want to allow clients to send 'typ': 'JWT' as many do, but if we allow that for symmetry we should probably require AS to accept too.
Joseph suggested that we change the conformance suite to start sending aud as the issuer value.
Nat suggested we should select a cut over date for that, and suggested 1st February (i.e. 3 months). We should double check if the current wave of OpenFinance Brazil certifications are over by then, if not we might want to push to 1st March. Peter will double check inside OBUK too.
Activity
bitbucket-import-issues commentedon Jul 2, 2026
One possible way forward is that we run two sets of certification tests for now, one set that tests uses the current private_key_jwt aud values, and another set that test using the new values. This obviously isn't ideal from an interoperability standpoint.
We would probably need to set some kind of deprecation timeline for the older version. I'd suggest that the old behaviour should probably go away no later than the point that a post-quantum transition happens, but I'm not sure if there's an argument for it to happen sooner.
Feedback from the working group would be welcome as this is ultimately a decision for the FAPI working group to make.
bitbucket-import-issues commentedon Jul 2, 2026
On 2026-06-10 call, Peter Stanley (OBL) wanted to flag the topic for future agenda planning rather than resolve it immediately.
private_key_jwtand audience (aud) restrictions — referenced issues #726 and #860 — and a related IETF document, draft-ietf-oauth-rfc7523bis, which Joseph Heenan reported is now in the RFC Editor queue (i.e., has passed through OAuth working group review and IESG/Area Director approval, and is awaiting final publication — timeline estimated at anywhere from a few weeks to a few months).audvalue a given server actually supports in order to send a correct test request. Practical options discussed:audvalue, at least for a transition period — likely necessary regardless of other decisions.audhandling from the updated IETF draft, allowing implementers to choose between the existing suite and the new one.sakimura commentedon Aug 19, 2026
We will discuss this issue on the Sept. 9 Atlantic call.
sakimura commentedon Sep 16, 2026
Sept. 9 discussions are recorded here:
@jogu , please check whether the current suite accepts a client sending the issuer identifier as aud.
jogu commentedon Sep 16, 2026
The FAPI1 final conformance suite has issued a warning if private_key_jwt with aud == issuer is rejected by authorisation servers since the Nov 2024 release.
Below is a quick summary of the UK institutions results. TL;DR is that only one bank has ever rejected such a private_key_jwt assertion (Nationwide in their Dec 2024 result) and in their next test (Jan 2026) they accepted it. So the UK ecosystem appears to be in good shape, at least for the CMA9 who are the ones that are required to certify.
I also checked fapi rw id2 results, but as far as I could see no one had certified for them since the issuer-as-aud test was added.
invalid_client, "Private Key jwt is invalid" (WARNING)jogu commentedon Nov 20, 2026
RFC 10070 (the former draft-ietf-oauth-rfc7523bis) was published this month. For private_key_jwt client authentication it:
audvalue, and not the token endpoint URL;client_secret_jwtas well asprivate_key_jwt, and updates RFC 9126 so the same rule holds at the PAR endpoint;typheader valueclient-authentication+jwt(or a more specific profile-defined type), and that it is NOT RECOMMENDED for servers to reject JWTs without it.On the 9 September call we agreed the tests would warn first and fail after roughly 12 to 15 months, with ecosystems notified before enforcement. This is an update against that plan.
Where the FAPI1 tests are today
A. OP tests: the emulated client sends the token endpoint URL as
audat the token endpoint. One module sends the issuer there instead and warns if the server rejects it; that has been in place since 2024. At the PAR endpoint the issuer is already sent, and a rejection is a failure.B. Three OP modules require the AS to accept the PAR endpoint URL, the token endpoint URL, or an array with extra values as
aud. They rely on the paragraph of RFC 9126 that RFC 10070 has replaced, and will need replacing at the enforcement stage.C. RP tests: the issuer, the token endpoint URL and (for PAR) the PAR endpoint URL are all accepted. A warning for a non-issuer
audexists at the PAR endpoint only. Extending it to the token endpoint is the warning-stage change from action 8, and it has not shipped yet.D.
typ: the tests neither send nor checkclient-authentication+jwttoday.Brazil results for the "issuer as aud at the token endpoint" module (production data to 14 October 2026, Open Finance and Open Insurance profiles, 212 server hostnames):
Only one implementation is confirmed to reject the issuer (
invalid_client, "aud does not match") - the most recent certification for 'Shopee'. One other warning could not be attributed. So, as with the UK numbers above, servers already accept the issuer value as 'aud'.Questions for the WG
private_key_jwtandclient_secret_jwtnow reference it. Does enforcement wait for Core, or does it apply already given RFC 10070 is published? Recommend proceeding as per the timeline in '1' and not adding a dependency on OpenID Connect updates.typ? We did not discuss it on the call. Options are to leave it untested, or to have the OP tests sendclient-authentication+jwtin one module and warn if the server rejects it, and have the RP tests warn when a client omits it. I would not send it by default yet: a server that only acceptstyp: JWTwould fail every test. Recommendation from cert team is to proceed with a warning as we are for 'aud' checks.CIBA has the same issue and was not covered on the call. CIBA Core draft 06 (errata set 1) already replaces the "MUST accept issuer, token endpoint or backchannel endpoint" text with the sole-audience rule, and FAPI-CIBA draft 03 notes it, but the certification tests still follow CIBA Core Final. I propose the same warning-then-failure staging there. No Brazil FAPI-CIBA server in our data rejects the issuer as the aud value at the token endpoint (nor at the backchannel endpoint).
jogu commentedon Nov 23, 2026
I do wonder if we should revisit the '12 to 15 months before hard enforcement' - the sooner we align with RFC 10070, the less confusing this gets for everyone given the fragmented and differing rules we have right now. I'm honestly struggling to understand the different rules that are currently being applied at the different endpoints even when this is fresh is my head.
The evidence is already pointing towards everyone already accepting the issue value, and they are required to do so already at the back channel endpoint (from CIBA) and the PAR endpoint.
I think the 12 to 15 months should apply to 'requiring servers to reject private_key_jwt assertions when there's not a sole aud that is the issuer' (as per RFC 10070). It makes sense to phase that part and give servers time to adapt once our tests have started only sending aud==issuer everywhere they currently send token endpoint.
jogu commentedon Nov 23, 2026
A related point is how we handle the typ value RFC 10070 introduces in the conformance tests.
My initial thoughts:
OP tests: Require authorization servers to accept assertions that have the new typ value
RP tests: Reject if the typ is neither blank nor the new value
For the RP test we might want to allow clients to send 'typ': 'JWT' as many do, but if we allow that for symmetry we should probably require AS to accept too.
This would apply across all of FAPI1/FAPI2/FAPI-CIBA. https://gitlab.com/openid/conformance-suite/-/issues/2107 tracks this on the conformance suite side.
jogu commentedon Dec 2, 2026
Discussed on today's WG call:
Joseph suggested that we change the conformance suite to start sending aud as the issuer value.
Nat suggested we should select a cut over date for that, and suggested 1st February (i.e. 3 months). We should double check if the current wave of OpenFinance Brazil certifications are over by then, if not we might want to push to 1st March. Peter will double check inside OBUK too.