oauth-integrations - GitHub & Microsoft OAuth for Edge Workers
Implement OAuth 2.0 authentication with GitHub and Microsoft in edge environments
Tags
Updated: 2026-03-19Capabilities
Typical Inputs
Typical Outputs
What this skill does
- construct OAuth URLs
- exchange access tokens
- fetch user data
- fetch user emails
- validate JWT tokens
- handle OAuth callbacks
- refresh access tokens
Inputs
- OAuth code
- client_id
- client_secret
- redirect_uri
- OAuth scopes
Outputs
- access token
- refresh token
- user data
- user email
- OAuth response
Requirements
- Cloudflare Workers runtime
- OAuth provider credentials
- fetch API support
- jose library
