Please consider changing line 595 in OAuthClient.js from e.intuit_tid = (authResponse && authResponse.headers().intuit_tid) || '';
to
e.intuit_tid = (authResponse && authResponse.headers() && authResponse.headers().intuit_tid) || '';
Something was wrong with the response header and I was getting "TypeError: Cannot read property 'intuit_tid' of undefined" instead of the error returned by Intuit. I added the additional short circuit and now I can see the original error.
Please consider changing line 595 in OAuthClient.js from
e.intuit_tid = (authResponse && authResponse.headers().intuit_tid) || '';
toe.intuit_tid = (authResponse && authResponse.headers() && authResponse.headers().intuit_tid) || '';
Something was wrong with the response header and I was getting "TypeError: Cannot read property 'intuit_tid' of undefined" instead of the error returned by Intuit. I added the additional short circuit and now I can see the original error.