{"action":"created","issue":{"url":"https://api.github.com/repos/openstreetmap/openstreetmap-website/issues/153","labels_url":"https://api.github.com/repos/openstreetmap/openstreetmap-website/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/openstreetmap/openstreetmap-website/issues/153/comments","events_url":"https://api.github.com/repos/openstreetmap/openstreetmap-website/issues/153/events","html_url":"https://github.com/openstreetmap/openstreetmap-website/pull/153","id":8061018,"number":153,"title":"Add support for \"login with Facebook\" and MS live","user":{"login":"apmon","id":251447,"avatar_url":"https://avatars.githubusercontent.com/u/251447?v=3","gravatar_id":"","url":"https://api.github.com/users/apmon","html_url":"https://github.com/apmon","followers_url":"https://api.github.com/users/apmon/followers","following_url":"https://api.github.com/users/apmon/following{/other_user}","gists_url":"https://api.github.com/users/apmon/gists{/gist_id}","starred_url":"https://api.github.com/users/apmon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apmon/subscriptions","organizations_url":"https://api.github.com/users/apmon/orgs","repos_url":"https://api.github.com/users/apmon/repos","events_url":"https://api.github.com/users/apmon/events{/privacy}","received_events_url":"https://api.github.com/users/apmon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openstreetmap/openstreetmap-website/labels/enhancement","name":"enhancement","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2012-11-02T15:04:59Z","updated_at":"2015-02-12T17:39:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openstreetmap/openstreetmap-website/pulls/153","html_url":"https://github.com/openstreetmap/openstreetmap-website/pull/153","diff_url":"https://github.com/openstreetmap/openstreetmap-website/pull/153.diff","patch_url":"https://github.com/openstreetmap/openstreetmap-website/pull/153.patch"},"body":"Annoyingly Facebook and MS Live accounts do not implement OpenID which is the correct way to do authentication. Therefore they are not covered by the existing implementation of third party authentication. Imho they are, however, important enough to (reluctantly) warrant some special casing to support them and make it easier for new users to create an OpenStreetMap account.\r\n\r\nThis implementation uses the OAuth2 standard to retrieve user information from either Facebook or a Windows Live account that can then be used for authentication. It reuses a lot of the openID infrastructure to simplify the code and minimize the special casing.\r\n\r\nAs it uses OAuth2 and OAuth requires applications to register with the provider, the website needs to be\r\nregistered with Facebook and MS Live to use this feature. The oauth app id and app secret are stored\r\nin application.yml"},"comment":{"url":"https://api.github.com/repos/openstreetmap/openstreetmap-website/issues/comments/74115719","html_url":"https://github.com/openstreetmap/openstreetmap-website/pull/153#issuecomment-74115719","issue_url":"https://api.github.com/repos/openstreetmap/openstreetmap-website/issues/153","id":74115719,"user":{"login":"mvexel","id":120452,"avatar_url":"https://avatars.githubusercontent.com/u/120452?v=3","gravatar_id":"","url":"https://api.github.com/users/mvexel","html_url":"https://github.com/mvexel","followers_url":"https://api.github.com/users/mvexel/followers","following_url":"https://api.github.com/users/mvexel/following{/other_user}","gists_url":"https://api.github.com/users/mvexel/gists{/gist_id}","starred_url":"https://api.github.com/users/mvexel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvexel/subscriptions","organizations_url":"https://api.github.com/users/mvexel/orgs","repos_url":"https://api.github.com/users/mvexel/repos","events_url":"https://api.github.com/users/mvexel/events{/privacy}","received_events_url":"https://api.github.com/users/mvexel/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T17:39:36Z","updated_at":"2015-02-12T17:39:36Z","body":"Vaguely related, is [this](https://github.com/openstreetmap/openstreetmap-website/issues/894#issuecomment-74115310) an OSM web site bug?"}}