Yes, that is what I have done.
On my home page of the app I have two sections since there is no redirect. One each for logged in or not logged in. So if user is not logged in (identity does not exist) it shows the login form. If it does exist it shows the main page content.
The only big drawback I have found since there is no redirect is that if a user stays on a sub page of the app and the session expires they can still use the app. What I did is set a scheduler to each sub page that after 6 hours I automatically send the app to the main page.
Since that main page doesn't actually load in the background, when you open the app again it will then redirect as per scheduler and reload the page. If the session still exists it will load the content and if the session has been expired it will load the login form.