oauth-oidc-expert

oauth-oidc-expert is an agent for Claude Code from 0xfurai/claude-code-subagents. It costs 28 tokens per session (496 once invoked), scanned A, original, MIT.

An authentication and authorization specialist for OAuth 2.0 and OpenID Connect. OAuth controls which applications can access resources, while OpenID Connect adds user sign-in and identity information.

In plain words
What is it for?
Use it to design and review login flows, API access, consent screens, token lifetimes, PKCE, identity-provider integrations, and permission settings.
Why use it?
It helps avoid insecure token handling, permissions, login flows, and single sign-on integrations. It also helps check configurations against common security risks.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/0xfurai/claude-code-subagents/oauth-oidc-expert
Clone the repo
git clone --depth 1 https://github.com/0xfurai/claude-code-subagents

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for oauth-oidc-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/0xfurai/claude-code-subagents/oauth-oidc-expert.svg)](https://agentmods.dev/agents/0xfurai/claude-code-subagents/oauth-oidc-expert)
Your own site
<a href="https://agentmods.dev/agents/0xfurai/claude-code-subagents/oauth-oidc-expert"><img src="https://agentmods.dev/badge/agents/0xfurai/claude-code-subagents/oauth-oidc-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 496 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.00496
Opus 5 $0.00014 $0.00248
Sonnet 5 $0.00006 $0.00099
Haiku 4.5 $0.00003 $0.00050

Measured 2d ago against content hash e5483cd4a9bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

oauth-oidc-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

agents/oauth-oidc-expert.md · 53 lines

What it actually says

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
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 53 lines · 28 tokens per session scan A e5483cd4a9bc

Subscribe to this mod's changes

oauth-oidc-expert is an agent published in the GitHub repository 0xfurai/claude-code-subagents (996 stars, last pushed 10mo ago), licensed MIT. It adds 28 tokens to every session and 496 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.