DEV Community

Discussion on: Add Google Login to your React Apps in 10 mins

Collapse
 
dilipvaliya99 profile image
Dilip-Valiya99

refreshTokenSetup function is not working b'coz if someone will refresh page after login then setTimeOut() will be cleared also refreshTokenSetup function is only run after on success can we call it after expiry time of oath token?