Review test cases for PKCE (Proof Key for Code Exchange) implementation. Covers code_challenge/code_verifier validation, S256 transformation, and all PKCE requirements per OAuth 2.1 Sections 4.1.1, 4.1.3, 7.5.1, 7.5.2. PKCE is MANDATORY in OAuth 2.1.
The PKCE Test Case Reviewer is a specialized security tool designed to audit and validate Proof Key for Code Exchange (PKCE) implementations according to OAuth 2.1 standards. It automates the review of test cases to ensure mandatory compliance with S256 transformations, code verifier entropy, and server-side validation logic, effectively preventing authorization code interception and injection attacks.
Use Cases
Scenario 1: Auditing OAuth 2.1 compliance by verifying that authorization requests correctly enforce mandatory code_challenge and code_challenge_method parameters.
Scenario 2: Validating S256 transformation logic in security test suites to ensure the BASE64URL(SHA256(ASCII(code_verifier))) calculation matches official test vectors.
Scenario 3: Reviewing token endpoint test cases to confirm strict validation of the code_verifier, including length requirements (43-128 characters) and character set restrictions.
Scenario 4: Identifying security gaps in OpenID Connect (OIDC) implementations by cross-referencing existing test coverage against specific OAuth 2.1 specification sections like 4.1.1 and 4.1.3.
Scenario 5: Ensuring robust error handling by testing 'invalid_grant' responses when a code_verifier is missing or does not match the original challenge.
name
pkce-reviewer
description
Review test cases for PKCE (Proof Key for Code Exchange) implementation. Covers code_challenge/code_verifier validation, S256 transformation, and all PKCE requirements per OAuth 2.1 Sections 4.1.1, 4.1.3, 7.5.1, 7.5.2. PKCE is MANDATORY in OAuth 2.1.
PKCE Test Case Reviewer
Review test cases for PKCE implementation in OAuth 2.1 / OpenID Connect Basic OP.