{"action":"created","issue":{"url":"https://api.github.com/repos/bluesliverx/grails-spring-security-oauth2-provider/issues/83","labels_url":"https://api.github.com/repos/bluesliverx/grails-spring-security-oauth2-provider/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/bluesliverx/grails-spring-security-oauth2-provider/issues/83/comments","events_url":"https://api.github.com/repos/bluesliverx/grails-spring-security-oauth2-provider/issues/83/events","html_url":"https://github.com/bluesliverx/grails-spring-security-oauth2-provider/issues/83","id":67536767,"number":83,"title":"Is Logout Action Implemented","user":{"login":"ferasodh","id":1456776,"avatar_url":"https://avatars.githubusercontent.com/u/1456776?v=3","gravatar_id":"","url":"https://api.github.com/users/ferasodh","html_url":"https://github.com/ferasodh","followers_url":"https://api.github.com/users/ferasodh/followers","following_url":"https://api.github.com/users/ferasodh/following{/other_user}","gists_url":"https://api.github.com/users/ferasodh/gists{/gist_id}","starred_url":"https://api.github.com/users/ferasodh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferasodh/subscriptions","organizations_url":"https://api.github.com/users/ferasodh/orgs","repos_url":"https://api.github.com/users/ferasodh/repos","events_url":"https://api.github.com/users/ferasodh/events{/privacy}","received_events_url":"https://api.github.com/users/ferasodh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-10T08:01:30Z","updated_at":"2015-04-11T13:05:42Z","closed_at":null,"body":"Hi,\r\n\r\nI would like to know if logout action is already implemented or not. What is the url for logout controller? How can I implement it in case it is not implemented?\r\n\r\nThanks,\r\nFeras"},"comment":{"url":"https://api.github.com/repos/bluesliverx/grails-spring-security-oauth2-provider/issues/comments/91841581","html_url":"https://github.com/bluesliverx/grails-spring-security-oauth2-provider/issues/83#issuecomment-91841581","issue_url":"https://api.github.com/repos/bluesliverx/grails-spring-security-oauth2-provider/issues/83","id":91841581,"user":{"login":"bobby-vandiver","id":3793443,"avatar_url":"https://avatars.githubusercontent.com/u/3793443?v=3","gravatar_id":"","url":"https://api.github.com/users/bobby-vandiver","html_url":"https://github.com/bobby-vandiver","followers_url":"https://api.github.com/users/bobby-vandiver/followers","following_url":"https://api.github.com/users/bobby-vandiver/following{/other_user}","gists_url":"https://api.github.com/users/bobby-vandiver/gists{/gist_id}","starred_url":"https://api.github.com/users/bobby-vandiver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobby-vandiver/subscriptions","organizations_url":"https://api.github.com/users/bobby-vandiver/orgs","repos_url":"https://api.github.com/users/bobby-vandiver/repos","events_url":"https://api.github.com/users/bobby-vandiver/events{/privacy}","received_events_url":"https://api.github.com/users/bobby-vandiver/received_events","type":"User","site_admin":false},"created_at":"2015-04-11T13:05:42Z","updated_at":"2015-04-11T13:05:42Z","body":"@ferasodh, there is currently no \"logout\" (token revocation) functionality provided by the plugin. The rationale is that most apps will have specific requirements around how and when tokens will be revoked.\r\n\r\nAs for implementation, to effectively revoke a token, you only need to remove it from the token store. If you're using the GORM support provided by the plugin, this is as easy as:\r\n\r\n```groovy \r\nAccessToken.findByValue('my-token-value').delete()\r\n```\r\n\r\nHope that clarifies things. :)"}}