{"action":"opened","issue":{"url":"https://api.github.com/repos/octobroid/oc-oauth2-plugin/issues/2","repository_url":"https://api.github.com/repos/octobroid/oc-oauth2-plugin","labels_url":"https://api.github.com/repos/octobroid/oc-oauth2-plugin/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/octobroid/oc-oauth2-plugin/issues/2/comments","events_url":"https://api.github.com/repos/octobroid/oc-oauth2-plugin/issues/2/events","html_url":"https://github.com/octobroid/oc-oauth2-plugin/issues/2","id":369234117,"node_id":"MDU6SXNzdWUzNjkyMzQxMTc=","number":2,"title":"Authentication failed","user":{"login":"thesigae","id":20378254,"node_id":"MDQ6VXNlcjIwMzc4MjU0","avatar_url":"https://avatars2.githubusercontent.com/u/20378254?v=4","gravatar_id":"","url":"https://api.github.com/users/thesigae","html_url":"https://github.com/thesigae","followers_url":"https://api.github.com/users/thesigae/followers","following_url":"https://api.github.com/users/thesigae/following{/other_user}","gists_url":"https://api.github.com/users/thesigae/gists{/gist_id}","starred_url":"https://api.github.com/users/thesigae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thesigae/subscriptions","organizations_url":"https://api.github.com/users/thesigae/orgs","repos_url":"https://api.github.com/users/thesigae/repos","events_url":"https://api.github.com/users/thesigae/events{/privacy}","received_events_url":"https://api.github.com/users/thesigae/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-11T17:48:55Z","updated_at":"2018-10-11T17:48:55Z","closed_at":null,"author_association":"NONE","body":"@triasrahman **Thank you for the updated docs.\r\n\r\nOn my attempt to test this out I am having an auth failure message:**\r\n\r\n![image](https://user-images.githubusercontent.com/20378254/46823350-c74c4480-cd42-11e8-84a1-c9dfacb00651.png)\r\n\r\n**This is my code on the function I am using with a form.**\r\n\r\n`$client = new \\GuzzleHttp\\Client();\r\n$res = $client->request('POST', 'https://deltarv.biz/api/v1/auth/access_token', [\r\n    'form_params' => [\r\n        'client_id' => input('id'),\r\n        'client_secret' => input('secret'),\r\n        'grant_type' => 'password',\r\n        'username' => input('username'),\r\n        'password' => input('password')\r\n        ]\r\n    ]);`\r\n\r\n\r\n**Another question is: I believe I found the app client_id but where do we find / establish the client_secret?**\r\n\r\n![image](https://user-images.githubusercontent.com/20378254/46823276-99ff9680-cd42-11e8-9f7b-aa845fcbab70.png)\r\n"}}
{"actor":{"display_login":"thesigae"}}