xiaohongshu
xiaohongshu
id-token-reviewer
Review test cases for ID Token validation. Covers ID Token structure, required/conditional claims, signature validation (RS256), and all validation rules per OIDC Core 1.0 Section 2 and 3.1.3.7.
Full skill instructions
Review test cases for ID Token generation and validation in OpenID Connect Basic OP.
Header.Payload.Signature
| Field | Requirement | Example |
|---|---|---|
alg | REQUIRED. Signing algorithm | RS256 |
kid | RECOMMENDED. Key ID | 1e9gdk7 |
typ | OPTIONAL. Type | JWT |
| Check | Claim | Requirement | Spec Reference |
|---|---|---|---|
| [ ] | iss | REQUIRED. Issuer Identifier (HTTPS URL, no query/fragment) | OIDC Core 2 |
| [ ] | sub | REQUIRED. Subject Identifier (max 255 ASCII chars) | OIDC Core 2 |
| [ ] | aud | REQUIRED. Audience (contains client_id) | OIDC Core 2 |
| [ ] | exp | REQUIRED. Expiration time | OIDC Core 2 |
| [ ] | iat | REQUIRED. Issued at time | OIDC Core 2 |
| Check | Claim | Condition | Spec Reference |
|---|---|---|---|
| [ ] | nonce | REQUIRED if nonce in auth request | OIDC Core 3.1.3.6 |
| [ ] | auth_time | REQUIRED if max_age requested or auth_time essential | OIDC Core 2 |
| [ ] | azp | REQUIRED if aud contains multiple values | OIDC Core 2 |
| [ ] | at_hash | OPTIONAL for code flow | OIDC Core 3.1.3.6 |
| Check | Requirement | Spec Reference |
|---|---|---|
| [ ] | ID Token MUST be signed JWT | OIDC Core 2 |
| [ ] | Support RS256 algorithm (MANDATORY) | OIDC Core 15.1 |
| [ ] | alg header parameter present | OIDC Core 2 |
| [ ] | kid header parameter present if multiple keys | OIDC Core 10.1 |
| Check | Validation Rule | Spec Reference |
|---|---|---|
| [ ] | iss exactly matches OP's Issuer Identifier | OIDC Core 3.1.3.7 |
| [ ] | aud contains requesting client's client_id | OIDC Core 3.1.3.7 |
| [ ] | exp is in the future | OIDC Core 3.1.3.7 |
| [ ] | Signature verifiable with OP's public key | OIDC Core 3.1.3.7 |
iss) Testsiss matches configured OP issuer exactlyiss adds query parametersiss adds fragmentiss differs by trailing slashiss differs by scheme (http vs https)iss is missingaud) Testsaud equals client_id (string)aud is array containing client_idaud doesn't contain client_idaud is missingazp) Testsexp) Tests## Test Case: [Name]
### Target Feature: ID Token - [specific aspect]
### Test ID: OP-IDToken-[xxx]
### Spec Compliance:
- [x] Covers required behavior per [spec section]
- [ ] Missing: [specific requirement]
### Verdict: PASS / FAIL / PARTIAL
### Recommendations: [if any]
{
"iss": "https://server.example.com",
"sub": "248289761001",
"aud": "s6BhdRkqt3",
"nonce": "n-0S6_WzA2Mj",
"exp": 1311281970,
"iat": 1311280970
}
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience