intuit / oauth-jsclient

Intuit's NodeJS OAuth client provides a set of methods to make it easier to work with OAuth2.0 and Open ID
https://developer.intuit.com/
Apache License 2.0
119 stars 153 forks source link

Ensure authResponse is not falsy before logging authResponse.json #176

Closed Matthew-John-Emerson closed 1 month ago

Matthew-John-Emerson commented 1 month ago

I am currently having issues with the revoke method, as it attempts to log authResponse.json even though authResponse is null. This PR changes to logging authResponse && authReponse.json instead so null and undefined values don't cause errors

rajeshgupta723 commented 1 month ago

Thank you @Matthew-John-Emerson , this PR is merged now.