It may be possible to keep refreshing the API token in the background thanks to service worker which would reduce the need for logging back to the application frequently. An example of doing something periodically can be found at https://angular.io/guide/service-worker-communications (this updates the app but a similar principle could perhaps be used for the token).
It may be possible to keep refreshing the API token in the background thanks to service worker which would reduce the need for logging back to the application frequently. An example of doing something periodically can be found at https://angular.io/guide/service-worker-communications (this updates the app but a similar principle could perhaps be used for the token).