Defect #186
closed
Modal login window is shown twice, when authentication token expires
Added by Radek Tomiška about 8 years ago.
Updated over 5 years ago.
Description
When authentication token expires, then appropriate exception is thrown - this is ok. When FE client tries to call more services with expired token in the same time (e.g. on dashboard), then additional modal login window is shown after previous is closed (one for each exception). Expired token exception should be single state on FE.
- Status changed from New to Needs feedback
- Assignee changed from Radek Tomiška to Ondřej Kopr
- % Done changed from 0 to 90
Modal login on token expiration is shown only once now (BE is not called in cycle on the background, when token is expired).
Problem was in redux fetch methods - i've added check for token expiration before BE is called (fetchEntities, fetchEntity).
Could you make a review and test, please?
- Status changed from Needs feedback to Resolved
- Assignee changed from Ondřej Kopr to Radek Tomiška
- % Done changed from 90 to 100
I tested this issue and now it is working nicely.
- Status changed from Resolved to Closed
- Tracker changed from Task to Defect
- Category changed from 20 to Frontend
Also available in: Atom
PDF