Closed
Description
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.
Metadata
Metadata
Assignees
Labels
No labels