{"action":"created","issue":{"url":"https://api.github.com/repos/SocialiteProviders/Fitbit/issues/9","repository_url":"https://api.github.com/repos/SocialiteProviders/Fitbit","labels_url":"https://api.github.com/repos/SocialiteProviders/Fitbit/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/SocialiteProviders/Fitbit/issues/9/comments","events_url":"https://api.github.com/repos/SocialiteProviders/Fitbit/issues/9/events","html_url":"https://github.com/SocialiteProviders/Fitbit/issues/9","id":160813484,"number":9,"title":"FitBit: Authorization header required","user":{"login":"IamSwap","id":5309384,"avatar_url":"https://avatars.githubusercontent.com/u/5309384?v=3","gravatar_id":"","url":"https://api.github.com/users/IamSwap","html_url":"https://github.com/IamSwap","followers_url":"https://api.github.com/users/IamSwap/followers","following_url":"https://api.github.com/users/IamSwap/following{/other_user}","gists_url":"https://api.github.com/users/IamSwap/gists{/gist_id}","starred_url":"https://api.github.com/users/IamSwap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IamSwap/subscriptions","organizations_url":"https://api.github.com/users/IamSwap/orgs","repos_url":"https://api.github.com/users/IamSwap/repos","events_url":"https://api.github.com/users/IamSwap/events{/privacy}","received_events_url":"https://api.github.com/users/IamSwap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-17T05:15:15Z","updated_at":"2016-07-12T23:56:34Z","closed_at":null,"body":"Trying to connect fitbit with my laravel app. But after allowing permission I am getting this error.\r\n```\r\nClient error: `POST https://api.fitbit.com/oauth2/token` resulted in a `401 Unauthorized` response:\r\n{\"errors\":[{\"errorType\":\"invalid_request\",\"message\":\"Authorization header required. Visit https://dev.fitbit.com/docs/oa (truncated...)\r\n```\r\n\r\nUpdate:\r\nI tried to turn off stateless\r\n```\r\nreturn Socialite::with('fitbit')->stateless(false)->redirect();\r\n```\r\nBut now i am getting this exception:\r\n\r\n`InvalidStateException in AbstractProvider.php line 32: `"},"comment":{"url":"https://api.github.com/repos/SocialiteProviders/Fitbit/issues/comments/232216639","html_url":"https://github.com/SocialiteProviders/Fitbit/issues/9#issuecomment-232216639","issue_url":"https://api.github.com/repos/SocialiteProviders/Fitbit/issues/9","id":232216639,"user":{"login":"Bigwebmaster","id":1310816,"avatar_url":"https://avatars.githubusercontent.com/u/1310816?v=3","gravatar_id":"","url":"https://api.github.com/users/Bigwebmaster","html_url":"https://github.com/Bigwebmaster","followers_url":"https://api.github.com/users/Bigwebmaster/followers","following_url":"https://api.github.com/users/Bigwebmaster/following{/other_user}","gists_url":"https://api.github.com/users/Bigwebmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/Bigwebmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bigwebmaster/subscriptions","organizations_url":"https://api.github.com/users/Bigwebmaster/orgs","repos_url":"https://api.github.com/users/Bigwebmaster/repos","events_url":"https://api.github.com/users/Bigwebmaster/events{/privacy}","received_events_url":"https://api.github.com/users/Bigwebmaster/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T23:56:34Z","updated_at":"2016-07-12T23:56:34Z","body":"I fixed this issue on my fork. I created a pull request to solve this for you."}}
{"actor":{"display_login":"Bigwebmaster"}}