oauth-integrations - OAuth for Cloudflare Workers
Implement GitHub and Microsoft OAuth 2.0 authentication in Cloudflare Workers and edge environments
Tags
Updated: 2026-03-19Capabilities
Typical Inputs
Typical Outputs
What this skill does
- exchange OAuth tokens
- fetch user data
- fetch user emails
- validate JWT tokens
- construct OAuth URLs
- refresh access tokens
Inputs
- client ID
- client secret
- authorization code
- redirect URI
- tenant ID
- access token
Outputs
- access token
- refresh token
- ID token
- user profile
- user email
Requirements
- Cloudflare Workers runtime
- GitHub OAuth app
- Microsoft Entra app registration
- jose library
