Skip to content

feat: add Cloudflare Workers and edge runtime compatibility#19

Merged
paprikaf merged 1 commit intomainfrom
feat/workers-compatibility
Dec 13, 2025
Merged

feat: add Cloudflare Workers and edge runtime compatibility#19
paprikaf merged 1 commit intomainfrom
feat/workers-compatibility

Conversation

@paprikaf
Copy link
Copy Markdown
Contributor

  • Split Auth class into web-safe (default) and Node-specific (NodeAuth)
  • Remove Node.js http/url imports from default export
  • Add web-standard base64 encoding (no Buffer dependency)
  • Add Workers compatibility test suite
  • Add Cloudflare Workers integration guide

BREAKING CHANGE: If you use Auth.authenticate() with local callback server, import NodeAuth instead of Auth.

- Split Auth class into web-safe (default) and Node-specific (NodeAuth)
- Remove Node.js http/url imports from default export
- Add web-standard base64 encoding (no Buffer dependency)
- Add Workers compatibility test suite
- Add Cloudflare Workers integration guide

BREAKING CHANGE: If you use Auth.authenticate() with local callback
server, import NodeAuth instead of Auth.
@paprikaf paprikaf merged commit 33f7d89 into main Dec 13, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant