{"action":"created","issue":{"url":"https://api.github.com/repos/saintdan/spring-rest-oauth2-sample/issues/14","labels_url":"https://api.github.com/repos/saintdan/spring-rest-oauth2-sample/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/saintdan/spring-rest-oauth2-sample/issues/14/comments","events_url":"https://api.github.com/repos/saintdan/spring-rest-oauth2-sample/issues/14/events","html_url":"https://github.com/saintdan/spring-rest-oauth2-sample/issues/14","id":114998703,"number":14,"title":"401 for /oauth/token","user":{"login":"lishoujian","id":4132790,"avatar_url":"https://avatars.githubusercontent.com/u/4132790?v=3","gravatar_id":"","url":"https://api.github.com/users/lishoujian","html_url":"https://github.com/lishoujian","followers_url":"https://api.github.com/users/lishoujian/followers","following_url":"https://api.github.com/users/lishoujian/following{/other_user}","gists_url":"https://api.github.com/users/lishoujian/gists{/gist_id}","starred_url":"https://api.github.com/users/lishoujian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lishoujian/subscriptions","organizations_url":"https://api.github.com/users/lishoujian/orgs","repos_url":"https://api.github.com/users/lishoujian/repos","events_url":"https://api.github.com/users/lishoujian/events{/privacy}","received_events_url":"https://api.github.com/users/lishoujian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-04T08:26:44Z","updated_at":"2015-11-04T13:16:59Z","closed_at":null,"body":"when I use \r\n curl -X POST -vu ios_app:123456 http://localhost:8080/oauth/token -H \"Accept: application/json\" -d \"password=admin&username=admin&grant_type=password&scope=read&client_secret=123456&client_id=ios_app\"\r\n\r\nit replay like this:\r\n{\"timestamp\":1446625431561,\"status\":401,\"error\":\"Unauthorized\",\"message\":\"Client ios_app does not exist!\",\"path\":\"/oauth/token\"}\r\n\r\nhow can I run it Correct！\r\nthanks for your reply!"},"comment":{"url":"https://api.github.com/repos/saintdan/spring-rest-oauth2-sample/issues/comments/153716954","html_url":"https://github.com/saintdan/spring-rest-oauth2-sample/issues/14#issuecomment-153716954","issue_url":"https://api.github.com/repos/saintdan/spring-rest-oauth2-sample/issues/14","id":153716954,"user":{"login":"saintdan","id":7519168,"avatar_url":"https://avatars.githubusercontent.com/u/7519168?v=3","gravatar_id":"","url":"https://api.github.com/users/saintdan","html_url":"https://github.com/saintdan","followers_url":"https://api.github.com/users/saintdan/followers","following_url":"https://api.github.com/users/saintdan/following{/other_user}","gists_url":"https://api.github.com/users/saintdan/gists{/gist_id}","starred_url":"https://api.github.com/users/saintdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saintdan/subscriptions","organizations_url":"https://api.github.com/users/saintdan/orgs","repos_url":"https://api.github.com/users/saintdan/repos","events_url":"https://api.github.com/users/saintdan/events{/privacy}","received_events_url":"https://api.github.com/users/saintdan/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T13:16:59Z","updated_at":"2015-11-04T13:16:59Z","body":"THX, @steveGuRen "}}