{"action":"created","issue":{"url":"https://api.github.com/repos/opencaching/okapi/issues/387","repository_url":"https://api.github.com/repos/opencaching/okapi","labels_url":"https://api.github.com/repos/opencaching/okapi/issues/387/labels{/name}","comments_url":"https://api.github.com/repos/opencaching/okapi/issues/387/comments","events_url":"https://api.github.com/repos/opencaching/okapi/issues/387/events","html_url":"https://github.com/opencaching/okapi/issues/387","id":141030909,"number":387,"title":"Revoking a consumer key","user":{"login":"following5","id":1614754,"avatar_url":"https://avatars.githubusercontent.com/u/1614754?v=3","gravatar_id":"","url":"https://api.github.com/users/following5","html_url":"https://github.com/following5","followers_url":"https://api.github.com/users/following5/followers","following_url":"https://api.github.com/users/following5/following{/other_user}","gists_url":"https://api.github.com/users/following5/gists{/gist_id}","starred_url":"https://api.github.com/users/following5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/following5/subscriptions","organizations_url":"https://api.github.com/users/following5/orgs","repos_url":"https://api.github.com/users/following5/repos","events_url":"https://api.github.com/users/following5/events{/privacy}","received_events_url":"https://api.github.com/users/following5/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-03-15T16:39:43Z","updated_at":"2016-03-18T13:32:20Z","closed_at":"2016-03-17T17:49:03Z","body":"Together with an application developer, I am thinking about revoking a consumer key so that all users of the application are forced to update to a new version. Generally I think this should be possible, for the case that some OKAPI client runs mad.\r\n\r\nAs far as I understand, this is currently only possible by altering this `consumer_key` in all OKAPI tables in the same way - so the histories would stay intact. Am I right with this? If yes: What do you think about adding a flag FLAG_REVOKED which is set in `okapi_consumers`.`bflags`, and then OKAPI will output a proper error message when this key is used?"},"comment":{"url":"https://api.github.com/repos/opencaching/okapi/issues/comments/198358057","html_url":"https://github.com/opencaching/okapi/issues/387#issuecomment-198358057","issue_url":"https://api.github.com/repos/opencaching/okapi/issues/387","id":198358057,"user":{"login":"wrygiel","id":2168535,"avatar_url":"https://avatars.githubusercontent.com/u/2168535?v=3","gravatar_id":"","url":"https://api.github.com/users/wrygiel","html_url":"https://github.com/wrygiel","followers_url":"https://api.github.com/users/wrygiel/followers","following_url":"https://api.github.com/users/wrygiel/following{/other_user}","gists_url":"https://api.github.com/users/wrygiel/gists{/gist_id}","starred_url":"https://api.github.com/users/wrygiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wrygiel/subscriptions","organizations_url":"https://api.github.com/users/wrygiel/orgs","repos_url":"https://api.github.com/users/wrygiel/repos","events_url":"https://api.github.com/users/wrygiel/events{/privacy}","received_events_url":"https://api.github.com/users/wrygiel/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T13:32:20Z","updated_at":"2016-03-18T13:32:20Z","body":"Later on, we may probably add a command line script to aid with such things. Currently, I don't think it's necessary."}}