I am using wso2 IS 5.11 configured with basic auth(login page) and password reset enforcer which will force user to update password if it is expired.
But after basic authentication(login page) sucess if password is expired the wso2 IS is routing to password reset page but on click of back button it is routing to basic auth page or login page but once user fills another username and password and if that user password is also expired it'll route to password reset page but the autneticated user is still the first one So, first user password will get updated.
So, to tackle this, as I am using SAML for authentication with adaptive authentication, is there any way we can clear context and route back to login page with some message.