How to expire user session when user signs out from external web app that is using OAuth2?

Hello,

We have OAuth2 setup and it is working fine but the session persists even after the user logs out from the external app.

How can I log out or expire/delete the session id (sid) that was created during the OAuth2 authorization process. I want the user to log out from desk as well.

Thanks!