Facing the same issue from couple of months. My approach '(2) At the API request level'
Please let me know if you got the best solution to resolve this.
That will really help many people who are facing these issues.
refresh the auth token when session expire is very big solution.