GitHub OAuth for a static site using Cloudflare Workers

from blog Simon Willison's Weblog, | ↗ original
GitHub OAuth for a static site using Cloudflare Workers Here's a TIL covering a Thanksgiving AI-assisted programming project. I wanted to add OAuth against GitHub to some of the projects on my tools.simonwillison.net site in order to implement "Save to Gist". That site is entirely statically hosted by GitHub Pages, but OAuth has a required...