oauth-integrations - OAuth Integrations for Edge Environments
Implement OAuth 2.0 authentication with GitHub and Microsoft in Cloudflare Workers and edge environments
Tags
Updated: 2026-03-19Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Implement GitHub OAuth
- Implement Microsoft OAuth
- Handle OAuth callbacks
- Exchange OAuth tokens
- Validate JWT tokens
- Fetch user emails
- Fetch user profile
- Configure redirect URIs
- Manage refresh tokens
- Troubleshoot OAuth errors
Inputs
- OAuth client ID
- OAuth client secret
- Callback URL
- Authorization code
- Tenant ID
- OAuth scopes
Outputs
- Access token
- Refresh token
- ID token
- User profile data
- User email address
Requirements
- Edge runtime environment
- Cloudflare Workers
- GitHub OAuth app
- Microsoft Entra app registration
- jose library for JWT validation
