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.
If the downloaded client secret is for a
web
application instead of aninstalled
application, the object in the JSON file will be calledweb
instead ofinstalled
, which causesauth.js
to crash (see this page for more info). This commit adds support for both types of client secrets. Tested and works well.