oauth-oidc-auth-integration
Installation
SKILL.md
OAuth / OIDC Integration
Workflow
- Identify client, authorization server, resource server and any OpenID Provider.
- Prefer authorization-code flow and avoid implicit-style token delivery.
- Use PKCE (S256) for public clients and normally for confidential clients too.
- Bind redirect URIs exactly and defend against CSRF/mix-up attacks.
- Validate tokens for signature, issuer, audience, time and intended token use.
- Scope tokens narrowly and protect refresh tokens with rotation or sender-constraining where supported.
- Test replay, wrong issuer/audience, expiry and redirect manipulation.
Conditional references
- RFC 9700 / PKCE baseline →
references/oauth-security-bcp.md. - Token validation →
references/token-validation.md.
Asset
Use assets/oauth-review.md for implementation review.