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
Dispatch API action > API middleware executes request > Request fails (401, auth token needs to be refreshed) > Refresh auth token (refresh token action called from middleware) > Re-execute original action
Is it possible to do this all in the flow of a single action? I can post code if necessary, hope my question is clear enough.
The text was updated successfully, but these errors were encountered:
How would one implement the following flow?
Dispatch API action > API middleware executes request > Request fails (401, auth token needs to be refreshed) > Refresh auth token (refresh token action called from middleware) > Re-execute original action
Is it possible to do this all in the flow of a single action? I can post code if necessary, hope my question is clear enough.
The text was updated successfully, but these errors were encountered: