oauth21-token-endpoint - OAuth 2.1 Token Endpoint Implementation
Implement OAuth 2.1 token endpoint with grant types, PKCE, CORS, and error handling
Tags
Updated: 2026-03-23Capabilities
Typical Inputs
Typical Outputs
What this skill does
- process token requests
- authenticate confidential clients
- issue access tokens
- issue refresh tokens
- validate authorization codes
- validate PKCE code_verifier
- handle refresh token rotation
- revoke authorization codes
- return error responses
- set cache-control headers
- support CORS headers
Inputs
- client credentials
- grant type
- authorization code
- refresh token
- code_verifier
- scope
Outputs
- access token
- refresh token
- token response
- error response
- CORS headers
Requirements
- HTTPS
- TLS
- application/x-www-form-urlencoded support
- UTF-8 encoding
