Skip to main content

FAPI-RW-ID2-ENSURE-REQUEST-OBJECT-WITH-LONG-STATE

NameEnsures the Holder accepts long states or produces an error if not supported
CategoryINFOSEC
Execution MethodAUTOMATED (FAPI BASELINE)
Preconditions
Description

This test passes a long state in request object. The authorization server must either return an invalid_request error back to the client, and must show an error page (saying the server rejects long state - upload a screenshot of the error page) or must successfully authenticate and return the state correctly.

Steps
  1. Execute authorisation as per FAPI-RW-ID2-PAR however where the nonce is specified use a state value that is 384 characters in length
  2. It is expected the Holder will either accept the state and proceed as per normal or return an oauth2 invalid_request error in return
Inputs
Expected ResultsThe Holder must not truncate or corrupt the long state