-
Notifications
You must be signed in to change notification settings - Fork 136
Open
Labels
Cannot reproduceIssues which cannot be reproduced as per description provided.Issues which cannot be reproduced as per description provided.
Milestone
Description
In Connect App we are sending requests to the server to get new notifications with some interval.
To get notifications we use the token for authentication, but token expires after some period of time and has to be renewed.
At some reason, currently, token is not renewed immediately when it's needed:

How to reproduce
- Load page with project listing and leave it for some time with Networks tab opened.
- With some interval of time notifications would be loaded successfully.
- At some moment requests would start failing.
- After that at some moment the token would be reviwed automatically.
- And new notifications would be loaded successfully.
Expected
All the requests should be successful. I guess at the time we are making any request we should always follow the next logic:
- check if the token is expired or no
- if expired, retrieve a new token
- make a request
vikasrohit
Metadata
Metadata
Assignees
Labels
Cannot reproduceIssues which cannot be reproduced as per description provided.Issues which cannot be reproduced as per description provided.