oauthinaction / oauth-in-action-code

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

ch6-ex-1 code typo #31

Closed Babagilo closed 4 years ago

Babagilo commented 4 years ago

Page 96 of the page shows:

nosql.insert({ access_token: access_token, client_id: clientId, scope: rscope });

Should be: nosql.insert({ access_token: access_token, client_id: client.client_id, scope: rscope });

jricher commented 4 years ago

Thanks, this is fixed in the code and should also be fixed in the next edition of the text.