Flow How to run this app: Register Application on Github Create CLIENT_ID and CLIENT_SECRET env variables: export CLIENT_ID=... export CLIENT_SECRET=... Run go run main.go Visit http://localhost:9000/ Refs: https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/authorizing-oauth-apps https://clavinjune.dev/en/blogs/serving-embedded-static-file-inside-subdirectory-using-go/