happydpc / goauth2

Automatically exported from code.google.com/p/goauth2
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

missing access_token does not generate error #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If, for some reason, the oauth provider does not return an 'access_token' value 
when the POST to tokenURL is performed, updateToken() currently populates 
tok.AccessToken with an empty string

It would be better for an error to be returned in this scenario as there is no 
valid case for having an empty access token AFAIK

Original issue reported on code.google.com by porj...@yahoo.com.au on 4 Mar 2014 at 5:56

GoogleCodeExporter commented 9 years ago

Original comment by a...@golang.org on 4 Mar 2014 at 6:18

GoogleCodeExporter commented 9 years ago
Camlistore users are running into this too.

Original comment by bradfitz@golang.org on 10 Aug 2014 at 5:57

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 7fc9d958c834.

Original comment by a...@golang.org on 11 Aug 2014 at 11:24