Review test cases for UserInfo Endpoint. Covers access token validation, Bearer token handling, sub claim consistency, scope-based claims, and signed responses per OIDC Core 1.0 Section 5.3.
The UserInfo Endpoint Test Case Reviewer is a specialized tool designed to audit and validate test suites for OpenID Connect (OIDC) implementations. It ensures that UserInfo endpoints strictly adhere to OIDC Core 1.0 Sections 5.3 and 5.4, covering critical aspects such as Bearer token validation, subject (sub) claim consistency, and scope-based claim filtering. By providing a structured review process, it helps developers and security engineers identify missing test scenarios and ensure robust, spec-compliant identity services.
Use Cases
OIDC Compliance Auditing: Automatically review test plans for a new Identity Provider to ensure they meet the mandatory requirements of the OIDC Core 1.0 specification.
Security Testing: Verify that the UserInfo endpoint correctly handles edge cases, including expired, revoked, or malformed access tokens with appropriate 401 and 403 error responses.
Data Privacy Validation: Ensure that scope-based claim filtering is thoroughly tested so that only authorized user data (e.g., email, profile) is returned based on the granted scopes.
Integration Consistency Checks: Cross-reference test cases to confirm that the 'sub' claim in the UserInfo response matches the ID Token, maintaining identity stability across the session.
name
userinfo-endpoint-reviewer
description
Review test cases for UserInfo Endpoint. Covers access token validation, Bearer token handling, sub claim consistency, scope-based claims, and signed responses per OIDC Core 1.0 Section 5.3.
UserInfo Endpoint Test Case Reviewer
Review test cases for UserInfo Endpoint in OpenID Connect Basic OP.
Scope
Feature: UserInfo Endpoint
Specifications: OIDC Core 1.0 Section 5.3, 5.4
Profile: Basic OP
Review Process
Identify which UserInfo requirement the test targets
Check against the checklist below
Verify both success and error scenarios
Ensure scope-based claim filtering is tested
Report gaps with specific spec section references
Basic Requirements
Check
Requirement
Spec Reference
[ ]
Accept access token via Authorization header (Bearer)
OIDC Core 5.3.1
[ ]
Support GET method
OIDC Core 5.3.1
[ ]
Support POST method
OIDC Core 5.3.1
[ ]
Return sub claim (REQUIRED)
OIDC Core 5.3.2
[ ]
sub matches ID Token sub
OIDC Core 5.3.2
[ ]
Return claims based on granted scopes
OIDC Core 5.4
Request Format
GET Request
GET /userinfo HTTP/1.1
Host: server.example.com
Authorization: Bearer SlAV32hkKG
POST Request
POST /userinfo HTTP/1.1
Host: server.example.com
Authorization: Bearer SlAV32hkKG
Content-Type: application/x-www-form-urlencoded