How to disable User/password login page after session timeout

Hi, I am using MyID SSO authentication in my application. Normally, if the session times out, the login.html page will be displayed - here I have removed the option to use username and password authentication. But in some cases - for example, if I don't close the browser and hibernate the computer – the next day, a different page will appear: I would like to completely prevent the possibility of using username / password authentication. How could I achieve this?  
1 answers

Could you not just redirect in your login.html to your IdP login screen? This way if the session expires you then redirect the user to the login page of the SSO.