rikas / zoho_hub

Zoho CRM API V2 Wrapper
MIT License
25 stars 30 forks source link

Authentication failures: refresh the token after an authentication_fa… #46

Closed Fabien-Wecasa closed 5 years ago

Fabien-Wecasa commented 5 years ago

In case of authentication_failure, we need to refresh the token. This PR simplifies my previous code and is more robust to Zoho unexpected responses. (in prod on our side for 2 weeks).