gate icon indicating copy to clipboard operation
gate copied to clipboard

Update Dependencies

Open acidlemon opened this issue 10 years ago • 0 comments

Hi typester,

Recently golang.org/x/oauth2 and github.com/martini-contrib/oauth2 updated without compatibility. Now gate does not work latest dependent libraries. This PR will fix this issue.

Changes:

  • change from golang.org/x/oauth2.Options to golang.org/x/oauth2.Config
  • request https://www.googleapis.com/oauth2/v3/userinfo (get url from openid-configuration) to get email (avoid to use old oauth2.Token.ExtraData())

acidlemon avatar May 15 '15 10:05 acidlemon