oauthinaction / oauth-in-action-code

Source code for OAuth 2 in Action

Home Page:https://www.manning.com/books/oauth-2-in-action

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ch6-ex-1 code typo

Babagilo opened this issue · comments

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 });

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