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
Originally submitted by tlodderstedt (Torsten Lodderstedt) on 2020-03-10
The spec currently states the client can send x-fapi headers, but does not give a rationale nor describes what is the AS supposed to do with those headers. Please plarify.
Originally submitted by Stuart Low (Stuart Low) on 2020-03-10
At least for x-fapi-interaction-id this is quite useful for tracing of flows through multiple layers on both OP and RP sides. It’s also potentially useful for reporting an error message that can be looked up in logs but is consistent across all participants.
Originally submitted by dgtonge (Dave Tonge) on 2020-11-25
So if starting from scratch with these specs, I would say that “customer presence” data is metadata that the AS may need to be aware of, but that should be irrelevant to the RS.
When such metadata is needed for an initial authorization decision, then it should be sent in RAR data.
When such metadata is needed to justify ongoing access, then it would seem to make sense to me to define an extension to the refresh token grant. For example under the PSD2 legal framework a Client could have the permission to get an access token (that lasts for 10 minutes) 4 times every 24 hours. If the Client wanted to access more than that, the condition would be that the customer is present. The Client could send the customer IP address and auth time to the token endpoint when requesting a new access token. This would keep logic simple:
the RS could just trust the access token
the AS could have the logic when issuing access tokens in the refresh token grant to check how many times tokens have been issued in the last 24 hours
Sending “customer presence” metadata to the RS doesn’t seem right as it confuses authorization and resource access.
Originally submitted by dgtonge (Dave Tonge) on 2020-11-25
we discussed on the call today. There was a case made that it is important for the RS to have “customer present” information.
A further point that I believe is relevant to this - if this information is important and may need to be signed in the future, then any signing mechanism will need to support signing of HTTP headers if the information is sent in http headers.
Originally submitted by dgtonge (Dave Tonge) on 2021-01-06
we had more discussion on the call and the following was discussed:
continuous authorization is important to support - the RS needs to be able to have additional data from which authorization decisions may be made
the data may not be able to be relied on from an accuracy perspective, but an RS may need to keep the data for audit purposes, and there may be legal requirements on how they deal with requests
given that the data may be needed for audit purposes, it should probably be signed in FAPI2 advanced
should the headers start with x-
should we define an extensible way for this information to be passed from the client to the RS or just let ecosystems come up with their own headers
Originally submitted by dgtonge (Dave Tonge) on 2021-09-08
We discussed this on the call today.
There was discusision that if we do keep any of these headers, we should keep the x- prefix as it doesn’t make sense to cause breaking changes over 2 characters.
We discussed that the x-fapi-interaction-id could be useful for auditing purposes and it could make sense to add it back into the spec.
Originally submitted by dgtonge (Dave Tonge) on 2021-09-16
We had a long discussion about this on the call yesterday.
We agreed that it would be better to move these headers to implementation advice, rather than have in the core spec.
We discussed that IP Address / Last auth time are problematic due to the fact that IP address can be PII and that the main usage of those headers has been to indicate whether a customer is present - but that is not clear at all. We discussed perhaps specifying a different header to indicate whether a customer is present. However we decided that such a header would only be a signal and wouldn’t be able to be trusted. Putting such a header in a security profile may
We agreed to leave this ticket open and start the FAPI 2 Implementation Advice document. There is still some disagreement about whether interaction-id belongs in the security profile, or in a different spec.
We noted that ecosystems are free to use the exiting x-fapi headers and still be fully conformant with FAPI 2. Indeed the UK and Australia already add extra requirements around these headers (and define extra headers).
Originally submitted by Anoop Saxena (Anoop Saxena) on 2025-03-21
There are many implementation of API gateways and applications of that can forward an x- directive header name and we may have issue when a custom header is added these gateway have add this custom header.
Activity
bitbucket-import-issues commentedon Jul 2, 2026
At least for x-fapi-interaction-id this is quite useful for tracing of flows through multiple layers on both OP and RP sides. It’s also potentially useful for reporting an error message that can be looked up in logs but is consistent across all participants.
bitbucket-import-issues commentedon Jul 2, 2026
Need to document what to use it for and implications to conformance tests.
bitbucket-import-issues commentedon Jul 2, 2026
FYI Australia’s CDR descriptions (https://consumerdatastandardsaustralia.github.io/standards/#http-headers):
Personally, I am not sure how useful customer-ip-address and auth-date are..
bitbucket-import-issues commentedon Jul 2, 2026
https://openbankinguk.github.io/read-write-api-site3/v3.1.5/profiles/read-write-data-api-profile.html#response-headers
Notes from OBIE from Chris.
bitbucket-import-issues commentedon Jul 2, 2026
I think we should drop the ip address and auth date headers.
bitbucket-import-issues commentedon Jul 2, 2026
I believe at least UK & CDR are using these headers to mean ‘customer present’. If we do drop them we should probably address that somehow.
bitbucket-import-issues commentedon Jul 2, 2026
In CDR, IP address is used as an ‘customer present’ indicator. Mandatory, if customer is present.
Auth date is a mandatory ‘last auth date’.
Not sure what the benefit of these or the quality / consistency of the the values supplied.
bitbucket-import-issues commentedon Jul 2, 2026
So if starting from scratch with these specs, I would say that “customer presence” data is metadata that the AS may need to be aware of, but that should be irrelevant to the RS.
When such metadata is needed for an initial authorization decision, then it should be sent in
RARdata.When such metadata is needed to justify ongoing access, then it would seem to make sense to me to define an extension to the refresh token grant. For example under the PSD2 legal framework a Client could have the permission to get an access token (that lasts for 10 minutes) 4 times every 24 hours. If the Client wanted to access more than that, the condition would be that the customer is present. The Client could send the customer IP address and auth time to the token endpoint when requesting a new access token. This would keep logic simple:
Sending “customer presence” metadata to the RS doesn’t seem right as it confuses authorization and resource access.
bitbucket-import-issues commentedon Jul 2, 2026
we discussed on the call today. There was a case made that it is important for the RS to have “customer present” information.
A further point that I believe is relevant to this - if this information is important and may need to be signed in the future, then any signing mechanism will need to support signing of HTTP headers if the information is sent in http headers.
bitbucket-import-issues commentedon Jul 2, 2026
we had more discussion on the call and the following was discussed:
3 remaining items
bitbucket-import-issues commentedon Jul 2, 2026
Removed x-fapi- headers in https://bitbucket.org/openid/fapi/commits/d777288f996a94fb449da8fde1bd95184755f245
bitbucket-import-issues commentedon Jul 2, 2026
opening again so we can discuss for the next implementers draft
bitbucket-import-issues commentedon Jul 2, 2026
We discussed this on the call today.
There was discusision that if we do keep any of these headers, we should keep the
x-prefix as it doesn’t make sense to cause breaking changes over 2 characters.We discussed that the
x-fapi-interaction-idcould be useful for auditing purposes and it could make sense to add it back into the spec.We had some discussion around the ip address and auth time. There was some discussion of making use of this header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For to pass through the end-user IP address.
We discussed that it would be good to resolve this issue on next weeks call.
bitbucket-import-issues commentedon Jul 2, 2026
I’m happy to drop all of the headers except for the interaction id.
bitbucket-import-issues commentedon Jul 2, 2026
We had a long discussion about this on the call yesterday.
We agreed that it would be better to move these headers to implementation advice, rather than have in the core spec.
We discussed that IP Address / Last auth time are problematic due to the fact that IP address can be PII and that the main usage of those headers has been to indicate whether a customer is present - but that is not clear at all. We discussed perhaps specifying a different header to indicate whether a customer is present. However we decided that such a header would only be a signal and wouldn’t be able to be trusted. Putting such a header in a security profile may
We agreed to leave this ticket open and start the FAPI 2 Implementation Advice document. There is still some disagreement about whether interaction-id belongs in the security profile, or in a different spec.
We noted that ecosystems are free to use the exiting x-fapi headers and still be fully conformant with FAPI 2. Indeed the UK and Australia already add extra requirements around these headers (and define extra headers).
bitbucket-import-issues commentedon Jul 2, 2026
I’ve started a draft implementation advice doc: https://bitbucket.org/openid/fapi/pull-requests/288/add-initial-version-of-implementation
bitbucket-import-issues commentedon Jul 2, 2026
Related to #487 as well.
Some guidance would be useful (Dima).
We need to collect content.
bitbucket-import-issues commentedon Jul 2, 2026
discussed today
customer present headers - often added by ecosystem, but lots of issues, we should work out if we can suggest something better
also x-fapi- or just fapi-
bitbucket-import-issues commentedon Jul 2, 2026
There are many implementation of API gateways and applications of that can forward an x- directive header name and we may have issue when a custom header is added these gateway have add this custom header.
bitbucket-import-issues commentedon Jul 2, 2026
Perhaps we need to create a full list of x- headers and solicit feedback on how they are used and implemented from ecosystems.