FAPI-RW-ID2-RESPONSE-TYPE-CODE-FAILS-PAR
| Name | Ensure the holder enforces the code id_token flow by attempting to use a code only response type |
|---|---|
| Category | INFOSEC |
| Execution Method | AUTOMATED (FAPI BASELINE) |
| Preconditions | |
| Description | This test uses response_type=code in the authorisation request, which (as a JARM response has not been requested) is not permitted in FAPI-RW - only the hybrid flow ('response_type=code id_token') is allowed. The authorization server should show an error message that the response type is unsupported or the request is invalid (a screenshot of which should be uploaded) or the user should be redirected back to the conformance suite with a correct error response, or an error could be returned from the PAR endpoint. |
| Steps |
|
| Inputs | |
| Expected Results | The Holder must reject requests requesting a response_type of code |