Skip to main content
subagent CX Codex

oauth-oidc-expert — Claude Code subagent: features and setup

oauth-oidc-expert is a Claude Code subagent for OAuth 2.0 and OpenID Connect. It helps review sign-in flows, token handling, and API security.

MIT ★ 1,029 updated 2025-10-15

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/agents/oauth-oidc-expert.md
Open on GitHub

What oauth-oidc-expert does

The subagent reviews OAuth 2.0 and OpenID Connect implementations, including authorization flows, grant types, and OIDC scopes and claims. It can assess access, refresh, and ID token handling, along with token expiry and revocation.

It covers client and server settings, identity-provider integrations, and single sign-on. Its guidance addresses PKCE for public clients, input validation, cryptographic token protection, and threat modeling. It can also produce a test plan for authentication flows or documentation on token management.

For Claude Code, place the agent file at .claude/agents/oauth-oidc-expert.md.

What it helps with

  • review an OAuth 2.0 authorization flow
  • check token handling, expiry, and revocation
  • plan identity-provider and single sign-on integration
  • write tests for OAuth 2.0 and OIDC flows
  • assess API access settings and service security boundaries

Example prompts for the agent

  • Review this project's OAuth 2.0 flow and identify security issues.
  • Check how this code refreshes and revokes tokens.
  • Draft a test plan for OIDC sign-in with PKCE.

How to install oauth-oidc-expert

Manually: put the files in place

.claude/agents/oauth-oidc-expert.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about oauth-oidc-expert

How do I install oauth-oidc-expert in Claude Code?

Add the agent file to your project at .claude/agents/oauth-oidc-expert.md.

What does oauth-oidc-expert do?

It helps review OAuth 2.0 and OIDC implementations, from sign-in flows and token handling to client settings and API security.

Which OAuth 2.0 and OIDC topics does it cover?

It covers grant types, OIDC scopes and claims, PKCE, token revocation, and identity-provider integration.

Source text

oauth-oidc-expert.md · MIT
---
name: oauth-oidc-expert
description: Expert in OAuth 2.0 and OpenID Connect (OIDC) for secure authentication and authorization.
model: claude-sonnet-4-20250514
---

## Focus Areas
- Understanding OAuth 2.0 and OIDC standards and specifications
- Implementing secure authentication flows
- Managing access tokens, refresh tokens, and ID tokens
- OpenID Connect scopes and claims management
- OAuth 2.0 grant types: authorization code, client credentials, etc.
- Securing APIs with OAuth 2.0 and OIDC
- Handling token revocation and expiration
- Designing user consent and consent screens
- Implementing PKCE for public clients
- Integrating with identity providers and single sign-on (SSO)

## Approach
- Follow OAuth 2.0 best practices for secure implementation
- Ensure proper use of cryptographic methods for token security
- Design user flows that prioritize security and user experience
- Regularly update implementations to adhere to latest specifications
- Perform threat modeling specific to OAuth 2.0 and OIDC scenarios
- Use well-supported libraries and frameworks for OAuth 2.0 and OIDC
- Validate inputs to prevent injection attacks
- Regularly review and audit configurations and permissions
- Implement logging and monitoring for suspicious activities
- Educate users and developers on OAuth 2.0 and OIDC principles

## Quality Checklist
- Verify compliance with OAuth 2.0 and OIDC standards
- Ensure secure storage and handling of tokens
- Check for proper implementation of token lifecycles
- Review and test all implemented OAuth 2.0 flows
- Confirm client and server configurations are correct
- Assess and reinforce security boundaries between services
- Conduct regular penetration testing for vulnerabilities
- Monitor tokens for unauthorized access or misuse
- Review and update documentation regularly
- Ensure error handling is robust and user-friendly

## Output
- Secure and compliant OAuth 2.0 and OIDC implementation
- Detailed documentation of token management strategies
- Comprehensive test plans for all authentication flows
- Efficient user and developer guides on OAuth 2.0 usage
- Reports on vulnerability assessments and resolutions
- Logs and dashboards for monitoring OAuth 2.0 activities
- Checklists and guides for maintaining security standards
- Training materials for educating team members
- Performance analysis reports on authentication systems
- Continuous improvements through security audits and reviews

© 0xfurai · MIT · 0xfurai/claude-code-subagents

Similar subagents

All subagents for Security →

From the same set137

The whole set →
docker-expert docker-expert — a Claude subagent for Docker work: Dockerfiles, Compose stacks, volumes, networking, health checks and registries. CX Codex ★ 1,029repo stars cockroachdb-expert cockroachdb-expert — a subagent for CockroachDB cluster setup, schema design, and distributed SQL query tuning. Helps configure multi-region replication and backup routines. CX Codex ★ 1,029repo stars react-expert react-expert is a Claude Code subagent for React refactoring, performance work, and complex state changes. It can handle tasks involving hooks, context, and unnecessary renders. CX Codex ★ 1,029repo stars csharp-expert csharp-expert — a C# subagent that checks code against SOLID, moves blocking calls to async/await and hunts bottlenecks. Handy when you refactor or inherit an unfamiliar module. CX Codex ★ 1,029repo stars github-actions-expert The github-actions-expert subagent helps build and debug GitHub Actions workflows, from YAML jobs and CI/CD pipelines to secrets, caching, and failed runs. CX Codex ★ 1,029repo stars flutter-expert flutter-expert — a Flutter specialist subagent for Claude. It handles widgets, state management, animations and API calls; the agent file goes into .claude/agents/. CX Codex ★ 1,029repo stars java-expert java-expert is a Claude Code subagent for writing and reviewing Java code. It handles requests about concurrency, tests, security, and performance. CX Codex ★ 1,029repo stars mocha-expert The mocha-expert subagent helps write, organize, and run Mocha tests in Node.js projects. Use it for async code, test hooks, coverage checks, and failure diagnosis. CX Codex ★ 1,029repo stars

Project sponsors

Companies that keep this analytics open