phamngsinh / goauth2

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

oauth with douban broken #40

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. setup the douban(http://douban.com/) Config
2. run the http server and try to get access token from douban
3. got the code and try to exchange the access token

What is the expected output? What do you see instead?

Expected: getting the access token from douban
Getting Error: 
code: 400,
error_type: "OAuthException",
error_message: "You must provide a client_secret"

What version of the product are you using? On what operating system?

changeset:   76:eab72654f295
go version go1.3.1 darwin/amd64

Please provide any additional information below.

and the douban expection to the function `providerAuthHeaderWorks`, and it 
works well. diff is attached.

Original issue reported on code.google.com by aisk1...@gmail.com on 20 Aug 2014 at 10:19

Attachments:

GoogleCodeExporter commented 8 years ago
This issue was closed by revision afe77d958c70.

Original comment by a...@golang.org on 28 Aug 2014 at 5:28