If the authenticate fails, log out the user. In the app router, if the user is logged out and inside the application, redirect them to the home page. This would happen if you logged into Keep.id on more than one tab or window and logged out of one of them. You would be logged out in all of your Keep.id tabs/windows so that if you refreshed, you would be redirected to the home page.
Link to Issue
Description of changes
If the authenticate fails, log out the user. In the app router, if the user is logged out and inside the application, redirect them to the home page. This would happen if you logged into Keep.id on more than one tab or window and logged out of one of them. You would be logged out in all of your Keep.id tabs/windows so that if you refreshed, you would be redirected to the home page.
Screenshot(s) or GIF(s) of changes