Needs to logout from grafana

Hello All,

I have used nodejs express module as prosy server, I have also use other api oauth2 for authentication user. So what I want is like, I want to logout from grafana when my nodejs express session got expired.
So currently when session got expired, I have redirect the response to logout page. even I have seen in the network tab that logout url got executed and it receives 200 status but in the UI, its not reflecting anything and I am getting “unexpexted error” message.

So Do you have any idea about it?

Thank you,