{"action":"created","issue":{"url":"https://api.github.com/repos/auth0/auth0-PHP/issues/35","labels_url":"https://api.github.com/repos/auth0/auth0-PHP/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/auth0/auth0-PHP/issues/35/comments","events_url":"https://api.github.com/repos/auth0/auth0-PHP/issues/35/events","html_url":"https://github.com/auth0/auth0-PHP/issues/35","id":105211004,"number":35,"title":"Improve error message when no id_token is received after code exchange","user":{"login":"rolodato","id":829698,"avatar_url":"https://avatars.githubusercontent.com/u/829698?v=3","gravatar_id":"","url":"https://api.github.com/users/rolodato","html_url":"https://github.com/rolodato","followers_url":"https://api.github.com/users/rolodato/followers","following_url":"https://api.github.com/users/rolodato/following{/other_user}","gists_url":"https://api.github.com/users/rolodato/gists{/gist_id}","starred_url":"https://api.github.com/users/rolodato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolodato/subscriptions","organizations_url":"https://api.github.com/users/rolodato/orgs","repos_url":"https://api.github.com/users/rolodato/repos","events_url":"https://api.github.com/users/rolodato/events{/privacy}","received_events_url":"https://api.github.com/users/rolodato/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-07T12:55:05Z","updated_at":"2015-09-23T13:35:21Z","closed_at":"2015-09-23T13:35:21Z","body":"When no `id_token` is received after the code exchange, the following error is thrown:\r\n\r\n```\r\nInvalid number of segments\r\n```\r\n\r\nThis should be documented and have a better error message (e.g. \"Missing JWT after code exchange. See auth0.com/docs/scopes for more details\")"},"comment":{"url":"https://api.github.com/repos/auth0/auth0-PHP/issues/comments/142602923","html_url":"https://github.com/auth0/auth0-PHP/issues/35#issuecomment-142602923","issue_url":"https://api.github.com/repos/auth0/auth0-PHP/issues/35","id":142602923,"user":{"login":"glena","id":5647310,"avatar_url":"https://avatars.githubusercontent.com/u/5647310?v=3","gravatar_id":"","url":"https://api.github.com/users/glena","html_url":"https://github.com/glena","followers_url":"https://api.github.com/users/glena/followers","following_url":"https://api.github.com/users/glena/following{/other_user}","gists_url":"https://api.github.com/users/glena/gists{/gist_id}","starred_url":"https://api.github.com/users/glena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glena/subscriptions","organizations_url":"https://api.github.com/users/glena/orgs","repos_url":"https://api.github.com/users/glena/repos","events_url":"https://api.github.com/users/glena/events{/privacy}","received_events_url":"https://api.github.com/users/glena/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T13:35:21Z","updated_at":"2015-09-23T13:35:21Z","body":"done, it will be ready in the next release."}}