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
Tokens are only valid for 1h. But it is possible to get a new one while the current one is still valid. Client should automatically ask for a new one when needed.
Need to determine what triggers the renewal. E.g.:
Before or after any request.
Like 1 but only after some time has passed since the last one. What would that time be? 30min? 50min? Ultimately this depends on how often users make requests which we cannot predict.
Do it periodically. This would require a separate thread and would do HTTP requests without the user knowing. I'd avoid that. We should be explicit.
Require the user to do it. The user should definitely have the option to trigger renewal but for most use cases, this is unergonomic.
The text was updated successfully, but these errors were encountered:
Tokens are only valid for 1h. But it is possible to get a new one while the current one is still valid. Client should automatically ask for a new one when needed.
Need to determine what triggers the renewal. E.g.:
The text was updated successfully, but these errors were encountered: