Silent Authentication what should happen if 'Require log in after' is over

Hello experts…

I am trying to perform silent authentication from my proxy with query params as prompt=none, response_mode=query, and redirect_uri=<proxy end point> . Everything is working fine when the user tries to refresh the page before Require log in after time expires. That is I am getting a valid auth code in the given redirect URI . But once the Require log in after is expired the I am not getting a response in the given redirect uri… instead it is redirecting to log in. I am expecting to get a response in the redirect uri… is that correct ?

if the response_mode=web_message we are getting error message as login required. I am expecting same error message when hitting with response_mode=query as well.