oauthinaction / oauth-in-action-code

Source code for OAuth 2 in Action
https://www.manning.com/books/oauth-2-in-action
Other
714 stars 535 forks source link

4-1: user is missing in approve form #5

Closed fabfuel closed 8 years ago

fabfuel commented 8 years ago

In example 4-1 you can not recieve a token, because there is no username passed to the autorization server.

Just as a proof of concept: It works if you just add a hard coded user name to the approve.html:

<input type="hidden" name="user" value="bob">

Best Fabian