How to handle session logout in angular application

I use the method keycloackService.update() in an angular application when the access token is expired but also updates the refresh token.
It ´s supposed that when the refresh token(the first generated when user log in) is expired then the client can’t renew an access token,so the user has to log in again.

How should I handle a session logout?.