Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

google oAuth - how to delete cookie after login from google oAuth

Tags:

oauth-2.0

i have develop an application with google oAuth, this is working fine.

I am able to login and access my website.

My question is, when i do sign out (logoff) from my application, i remove all sessions, but the authenticated cookie (made by google oAuth) is not deleted.

so, rightnow when i do logoff, and login using google oAuth, it is directly login in to system, without asking email and password to authenticate on google account.

Anyone having idea what i need to do in order to delete that cookie and force the user to login again using google oAuth after logout once.

like image 686
amit patel Avatar asked Nov 30 '11 08:11

amit patel


1 Answers

Maybe can logout using this link.

https://accounts.google.com/Logout?continue=http://google.com
like image 119
Aizu Ikmal Avatar answered Oct 13 '22 22:10

Aizu Ikmal