go-oauth2 / oauth2

OAuth 2.0 server library for the Go programming language.
https://pkg.go.dev/github.com/go-oauth2/oauth2/v4
MIT License
3.3k stars 561 forks source link

Refresh token by access_token #55

Open apanoo opened 7 years ago

apanoo commented 7 years ago

有个疑问,使用密码模式时,使用access token也可以刷新授权码,这样正常吗?

LyricTian commented 7 years ago

不正常,这是个bug。在获取令牌的时候,没有做令牌本身的校验,已经修复!多谢!

dgutson commented 5 years ago

Sorry guys, please consider to write in English since translators may not be good enough, and it happens that this issue (according to the title, and to the translated text) seems to affect us.