Skip to main content

FAPI-RW-ID2-ENSURE-VALID-PKCE-SUCCEEDS

NameVerify that valid PKCE requests are ignored
CategoryINFOSEC
Execution MethodAUTOMATED (FAPI BASELINE)
Description

This test makes a FAPI authorisation request using valid PKCE (RFC7636), which must succeed. FAPI-RW-ID2 does not require servers to support PKCE, but as per RFC6749 Section 3.1 'The authorization server MUST ignore unrecognized request parameters' - i.e., whether the server supports PKCE or not, a valid PKCE request must succeed. The reason for this test is that many OpenID Connect clients speculatively use PKCE, and the OAuth2 standard requires that requests from such clients must not fail.

Preconditions
Steps
  1. Execute authorisation as per FAPI-RW-ID2-PAR however during generation of request object in (8) add a code_challenge and code_challenge_method which is a compliant PKCE request
  2. It is expected the Holder will proceed as expected, ignoring the attempt to perform PKCE
Inputs
Expected ResultsThe Holder must ignore unknown request parameters including PKCE parameters when PKCE is not supported