Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

Remove multiple duplicate refresh token calls on startup #4639

Closed
karthikjeeyar opened this issue Dec 12, 2018 · 1 comment
Closed

Remove multiple duplicate refresh token calls on startup #4639

karthikjeeyar opened this issue Dec 12, 2018 · 1 comment

Comments

@karthikjeeyar
Copy link
Collaborator

Issue Overview

Post login, there are multiple timers registered in the app to call refresh token API.

Expected Behaviour

Application should not have multiple refresh token API calls at the same time.

Current Behaviour

App has multiple instances of authentication service, resulting in different refresh token timers are set up in different time interval.

Steps To Reproduce
  1. After logging in, check the network capture tab.

image

@karthikjeeyar
Copy link
Collaborator Author

I have brought down the refresh timer to one second, to illustrate the two api calls are made simultaneously
in every one second.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants