Github OAuth2 for Go
MIT License
{ "client_id": "xxx", "client_secret": "xxx" }
fetch("/api/oauth?code=xxx", { method: "GET", }).then((res) => { console.log(res); // ... });