Closed icastillejogomez closed 6 years ago
@jorge9200 there is a problem in listAccount
API.
If we have more than 1 accounts and any ONE account has expired token then listAccount
function is returning error
of 401 in error argument.
Although other accounts are correct but it is returning null
against account.
So ideally it should return error in each account. What do you think.
@burhan-project-manager okay, I'm going to make you an end-point to solve this.
@icastillejogomez thank you so much, tell us when is done
You can call listDisableAccounts method on api.integration.gmail variable. In this screenshot and in your start.js file (static directory) you can find the example code.
you can see the results:
when i completed the oauth process:
add the patch in this part too:
thx!
Thanks, it is implemented accordingly.
you have to handle all errors in app code.
If "REVOKED USER TOKEN" is returned in error (all errors in app) you must show the oauth initial process pop-up