HOAuth Logout Implementation

When I use facebook/ google authentication and logout is not logging out from my website. But however when I go to google / gmail and logout. My session is logged out frm my web app also. This is something obvious.

How do i logout from my web app alone. ?