samrum / OnStarJS

NodeJS Library for making OnStar API requests
MIT License
85 stars 17 forks source link

Disable default token upgrades. #215

Closed michaelwoods closed 1 year ago

michaelwoods commented 1 year ago

The recent change on GM's side disabled the existing auth flow. After @joelvandal determined the upgrade was no longer being called I tried defaulting upgradeRequired to false and my library, onstar2mqtt, was able to make a diagnostic request.

Should fix #214. The functional test gives me a 403 on cancelAlert, however that may be due to my OnStar remote commands plan expiring.

samrum commented 1 year ago

Thanks for the PR!

rrubin0 commented 1 year ago

I loaded version 1.5.3 last night (after enabling MFA in the app) and my commands are working once again. Car started this morning for the wife, right on queue - thanks!