Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Frontend
Target version:
Start date:
11/09/2016
Due date:
% Done:

100%

Estimated time:
4.00 h
Affected versions:
Owner:

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.

Actions #1

Updated by Radek Tomiška about 8 years ago

  • 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?

Actions #2

Updated by Vít Švanda about 8 years ago

  • 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.

Actions #3

Updated by Radek Tomiška about 8 years ago

  • Status changed from Resolved to Closed
Actions #4

Updated by Radek Tomiška over 5 years ago

  • Tracker changed from Task to Defect
  • Category changed from 20 to Frontend
Actions

Also available in: Atom PDF