Return link after a partially successful Azure AD login

When you use Azure AD login, you are successfully logged in to Azure, but the validation against credentials in Origam doesn’t work out, you end with the error message You do not have access to that resource. on an otherwise blank page.

image

It would be useful if there could be a button that would return the user to the login screen and also possibly another that would log you out of Azure. These buttons should have an Id so that they can be easily hidden.