endoplasmic / google-assistant

A node.js implementation of the Google Assistant SDK
MIT License
283 stars 75 forks source link

Support for `web` client IDs #66

Closed tjespe closed 5 years ago

tjespe commented 5 years ago

If the downloaded client secret is for a web application instead of an installed application, the object in the JSON file will be called web instead of installed, which causes auth.js to crash (see this page for more info). This commit adds support for both types of client secrets. Tested and works well.

endoplasmic commented 5 years ago

Right on! Nice catch