You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our "sync cloud integrations" process checks if integrations were disconnected in the backend and disconnects them locally if they were, but it doesn't check if the active token has changed on the backend. In this case, it should update its local token.
This can be done in several ways:
During the passive sync that runs during checkin, grab the actual token for each connected one, then validate against what you have stored locally and updated if needed.
(Preferred): When using a cloud token, if you get an error, or when it expires, try calling the /refresh backend route first to refresh the token, and give the call another try. If it still fails after refresh, show an error.
Note for 2 that when calling the refresh route, if the token on the backend differs than what you sent it in the body, it returns the new token instead of the current one.
The text was updated successfully, but these errors were encountered:
Our "sync cloud integrations" process checks if integrations were disconnected in the backend and disconnects them locally if they were, but it doesn't check if the active token has changed on the backend. In this case, it should update its local token.
This can be done in several ways:
/refresh
backend route first to refresh the token, and give the call another try. If it still fails after refresh, show an error.Note for 2 that when calling the refresh route, if the token on the backend differs than what you sent it in the body, it returns the new token instead of the current one.
The text was updated successfully, but these errors were encountered: