https://otamachan.github.io/gh-oauth-aws/
This is a sample web page application using GitHub OAuth. A web page only application cannot use GitHub OAuth because its endpoint does not support CORS. isaacs/github#330 . In this sample application, I use AWS Lambda/API Gateway to enable GitHub OAuth login with CORS support. Please also refer to the Cloudformation template for details.
You can launch the same stack with this ↓