{"action":"created","issue":{"url":"https://api.github.com/repos/hmrc/vat-api/issues/285","repository_url":"https://api.github.com/repos/hmrc/vat-api","labels_url":"https://api.github.com/repos/hmrc/vat-api/issues/285/labels{/name}","comments_url":"https://api.github.com/repos/hmrc/vat-api/issues/285/comments","events_url":"https://api.github.com/repos/hmrc/vat-api/issues/285/events","html_url":"https://github.com/hmrc/vat-api/issues/285","id":364465018,"node_id":"MDU6SXNzdWUzNjQ0NjUwMTg=","number":285,"title":"oauth2 \"journey\" not starting","user":{"login":"davidpipe58","id":43642841,"node_id":"MDQ6VXNlcjQzNjQyODQx","avatar_url":"https://avatars1.githubusercontent.com/u/43642841?v=4","gravatar_id":"","url":"https://api.github.com/users/davidpipe58","html_url":"https://github.com/davidpipe58","followers_url":"https://api.github.com/users/davidpipe58/followers","following_url":"https://api.github.com/users/davidpipe58/following{/other_user}","gists_url":"https://api.github.com/users/davidpipe58/gists{/gist_id}","starred_url":"https://api.github.com/users/davidpipe58/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidpipe58/subscriptions","organizations_url":"https://api.github.com/users/davidpipe58/orgs","repos_url":"https://api.github.com/users/davidpipe58/repos","events_url":"https://api.github.com/users/davidpipe58/events{/privacy}","received_events_url":"https://api.github.com/users/davidpipe58/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-27T13:00:50Z","updated_at":"2018-09-27T15:07:43Z","closed_at":null,"author_association":"NONE","body":"Can anyone suggest where I am going wrong here.\r\n\r\nI'm just starting out with the MTD VAT APIs, and all I'm try to do is get the user-restricted HellowWorld example working, but I'm not even managing to get to the HMRC start page.\r\n\r\nThis is the url I am using:\r\n\r\n\thttps://test-api.service.hmrc.gov.uk/oauth/authorize?\r\n\t\tresponse_type=code\r\n\t\t&scope=hello\r\n\t\t&redirect_uri=http%3a%2f%2flocalhost%3a8080\r\n\t\t&client_id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\r\n\r\n\t(A valid client id is being sent.)\r\n\r\nThe returned status code is NotFound.\r\n\r\nI've read and re-read the documentation a dozen times and can't see anything I am not conforming to.\r\n\r\nAny suggestions will be gratefully accepted.\r\n\r\nThanks\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/hmrc/vat-api/issues/comments/425128845","html_url":"https://github.com/hmrc/vat-api/issues/285#issuecomment-425128845","issue_url":"https://api.github.com/repos/hmrc/vat-api/issues/285","id":425128845,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTEyODg0NQ==","user":{"login":"seurrep","id":13554307,"node_id":"MDQ6VXNlcjEzNTU0MzA3","avatar_url":"https://avatars2.githubusercontent.com/u/13554307?v=4","gravatar_id":"","url":"https://api.github.com/users/seurrep","html_url":"https://github.com/seurrep","followers_url":"https://api.github.com/users/seurrep/followers","following_url":"https://api.github.com/users/seurrep/following{/other_user}","gists_url":"https://api.github.com/users/seurrep/gists{/gist_id}","starred_url":"https://api.github.com/users/seurrep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seurrep/subscriptions","organizations_url":"https://api.github.com/users/seurrep/orgs","repos_url":"https://api.github.com/users/seurrep/repos","events_url":"https://api.github.com/users/seurrep/events{/privacy}","received_events_url":"https://api.github.com/users/seurrep/received_events","type":"User","site_admin":false},"created_at":"2018-09-27T15:07:43Z","updated_at":"2018-09-27T15:07:43Z","author_association":"NONE","body":"Not sure if this is connected to the same issue but when I go to the following URL:\r\n\r\nhttps://test-api.service.hmrc.gov.uk/oauth/authorize?response_type=code&client_id=[removed]&scope=write:vat%20read:vat&redirect_uri=http://localhost/auth\r\n\r\nI get the following JSON spat back:\r\n\r\n`{\"error\":\"invalid_request\",\"error_description\":\"redirect_uri is invalid\"}`\r\n\r\nThis call has worked for the last week or two. Has anything broken on HMRC's side?"}}
{"actor":{"display_login":"seurrep"}}