{"action":"opened","issue":{"url":"https://api.github.com/repos/mkdynamic/omniauth-facebook/issues/177","labels_url":"https://api.github.com/repos/mkdynamic/omniauth-facebook/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/mkdynamic/omniauth-facebook/issues/177/comments","events_url":"https://api.github.com/repos/mkdynamic/omniauth-facebook/issues/177/events","html_url":"https://github.com/mkdynamic/omniauth-facebook/issues/177","id":54702191,"number":177,"title":"How parsing the Signed Request in the deauthorize callback?","user":{"login":"Vrael","id":1472843,"avatar_url":"https://avatars.githubusercontent.com/u/1472843?v=3","gravatar_id":"","url":"https://api.github.com/users/Vrael","html_url":"https://github.com/Vrael","followers_url":"https://api.github.com/users/Vrael/followers","following_url":"https://api.github.com/users/Vrael/following{/other_user}","gists_url":"https://api.github.com/users/Vrael/gists{/gist_id}","starred_url":"https://api.github.com/users/Vrael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vrael/subscriptions","organizations_url":"https://api.github.com/users/Vrael/orgs","repos_url":"https://api.github.com/users/Vrael/repos","events_url":"https://api.github.com/users/Vrael/events{/privacy}","received_events_url":"https://api.github.com/users/Vrael/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-18T16:53:45Z","updated_at":"2015-01-18T16:53:45Z","closed_at":null,"body":"When an user removes a facebook app, a deauthorize callback is called: [Detecting when people uninstall apps](https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow/v2.2#deauth-callback). I have been looking for if OminiAuth cover this scenary but I have not clear at all. When Facebook hits this url you have to parsing a signed request and I have seen that in OmniAuth exists a method called [parse_signed_request](https://github.com/mkdynamic/omniauth-facebook/blob/f37f24b49f213f9f0d22c6c37bd43a045d093e0d/lib/omniauth/strategies/facebook.rb#LC163) but I am not sure how I should call to this method.\r\n\r\n```ruby\r\non post do\r\n    on 'auth/facebook/deauthorized', param(:signed_request) do |signed_request|\r\n        # How should use that method here?\r\n    end\r\nend\r\n```\r\n\r\nOr exist other better way to to do this covered by flow-server in OmniAuth?"}}