/github-oauth-demo

You know , for Github OAuth way

Primary LanguageGo

GitHub OAuth Demo

Example

  1. Edit your clientId and clientSecret
clientID          = ""                           
clientSecret      = ""                           
  1. Add http://localhost:8080/token to your GitHub OAuth App config

  2. Run GitHub OAuth Demo

go run main.go
  1. Call http://localhost:8080/index.html

Blog