oauth2-oidc-and-token-lifecycle
Installation
SKILL.md
OAuth2 OIDC And Token Lifecycle
Use When
- Building SSO or federated login
- Implementing delegated API access with standards-based tokens
Workflow
- Select grant types per client (PKCE for public clients, client credentials for machine clients).
- Define token claims, scopes, and audience boundaries.
- Implement secure token validation on backend services.
- Design refresh, rotation, revocation, and session expiry behavior.
- Add observability for auth failures and suspicious token usage.