{"action":"created","issue":{"url":"https://api.github.com/repos/golang/oauth2/issues/164","labels_url":"https://api.github.com/repos/golang/oauth2/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/golang/oauth2/issues/164/comments","events_url":"https://api.github.com/repos/golang/oauth2/issues/164/events","html_url":"https://github.com/golang/oauth2/issues/164","id":117185203,"number":164,"title":"Why can't we add bad providers ourself?","user":{"login":"jerbob92","id":1312921,"avatar_url":"https://avatars.githubusercontent.com/u/1312921?v=3","gravatar_id":"","url":"https://api.github.com/users/jerbob92","html_url":"https://github.com/jerbob92","followers_url":"https://api.github.com/users/jerbob92/followers","following_url":"https://api.github.com/users/jerbob92/following{/other_user}","gists_url":"https://api.github.com/users/jerbob92/gists{/gist_id}","starred_url":"https://api.github.com/users/jerbob92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerbob92/subscriptions","organizations_url":"https://api.github.com/users/jerbob92/orgs","repos_url":"https://api.github.com/users/jerbob92/repos","events_url":"https://api.github.com/users/jerbob92/events{/privacy}","received_events_url":"https://api.github.com/users/jerbob92/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-16T18:10:57Z","updated_at":"2015-11-16T19:55:44Z","closed_at":null,"body":"I'm currently trying to implement a provider that did not follow the spec.\r\nCurrently the only way to get it working is by creating a fork and add it to the bad providers list.\r\n\r\nThe code tells me the following:\r\n```\r\n\t// Assume the provider implements the spec properly\r\n\t// otherwise. We can add more exceptions as they're\r\n\t// discovered. We will _not_ be adding configurable hooks\r\n\t// to this package to let users select server bugs.\r\n```\r\n\r\nWhy is this? I think there are many broken providers, is it really worth adding them all to the list by MR?\r\n\r\nMy suggestion is adding a ```HasBrokenAuthHeader``` field on the ```oauth2.Endpoint``` type.\r\nAnother option is adding a ```AuthorizeLocation``` field on the ```oauth2.Endpoint``` type, the value could be ```header``` or ```query```."},"comment":{"url":"https://api.github.com/repos/golang/oauth2/issues/comments/157151637","html_url":"https://github.com/golang/oauth2/issues/164#issuecomment-157151637","issue_url":"https://api.github.com/repos/golang/oauth2/issues/164","id":157151637,"user":{"login":"jerbob92","id":1312921,"avatar_url":"https://avatars.githubusercontent.com/u/1312921?v=3","gravatar_id":"","url":"https://api.github.com/users/jerbob92","html_url":"https://github.com/jerbob92","followers_url":"https://api.github.com/users/jerbob92/followers","following_url":"https://api.github.com/users/jerbob92/following{/other_user}","gists_url":"https://api.github.com/users/jerbob92/gists{/gist_id}","starred_url":"https://api.github.com/users/jerbob92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerbob92/subscriptions","organizations_url":"https://api.github.com/users/jerbob92/orgs","repos_url":"https://api.github.com/users/jerbob92/repos","events_url":"https://api.github.com/users/jerbob92/events{/privacy}","received_events_url":"https://api.github.com/users/jerbob92/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T19:55:44Z","updated_at":"2015-11-16T19:55:44Z","body":"Thanks, I missed that one!"}}