{"id":2302938,"date":"2011-09-18T03:24:45","date_gmt":"2011-09-18T03:24:45","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/oauth-expire-cookies\/"},"modified":"2016-08-20T02:29:54","modified_gmt":"2016-08-20T02:29:54","slug":"oauth-expire-cookies","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/oauth-expire-cookies\/","title":{"rendered":"oauth expire cookies"},"content":{"rendered":"<p>Hey,<\/p>\n<p>I would like to expire oauth cookies when a user logs out but unsure where to add the following&#8230; <\/p>\n<p>setcookie(&#8220;oauth_token&#8221;, &#8221;, time()-100);<br \/>\nsetcookie(&#8220;oauth_token_secret&#8221;, &#8221;, time()-100);<\/p>\n<p>I am hoping someone can help.<br \/>\nCheers,<br \/>\nShannon<\/p>\n","protected":false},"template":"","class_list":["post-2302938","topic","type-topic","status-closed","hentry","topic-tag-oauth","topic-tag-twitter"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2302938","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2302938\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=2302938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}