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.
📖 中文导读: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. 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
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