-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
In case of JWT-based authentication, token have lifetime. Currently, a Service handle automatically refresh of those authentication token but it may happen, due to any reasons, that this service cannot refresh authentication.
Currently, no action is done and the next query to the server will fails due to a 401 or 403 response.
Refer to STARIONGROUP/COMET-SDK-Community-Edition#365
It is required to correctly catch the exception on any call done against the server, provides a message (maybe via a pop-up dialog) to the user to warn him that the session will close and when the user closes the popup, it is required to close the session (call the Logout method of the authenticationService will handle everything)