You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new at node development but it seems that the accountService refreshToken function will potentially create a new refreshToken entry in the database as often as every 15 minutes. Shouldn't this function just generate a jwt if the refreshToken is still valid. Maybe generate a new refreshToken if the current one is about to expire while the user is active on the site. If they aren't then they just have to login the next time they visit the site.
The text was updated successfully, but these errors were encountered:
I'm new at node development but it seems that the accountService refreshToken function will potentially create a new refreshToken entry in the database as often as every 15 minutes. Shouldn't this function just generate a jwt if the refreshToken is still valid. Maybe generate a new refreshToken if the current one is about to expire while the user is active on the site. If they aren't then they just have to login the next time they visit the site.
The text was updated successfully, but these errors were encountered: