{"action":"created","issue":{"url":"https://api.github.com/repos/camptocamp/ngeo/issues/462","labels_url":"https://api.github.com/repos/camptocamp/ngeo/issues/462/labels{/name}","comments_url":"https://api.github.com/repos/camptocamp/ngeo/issues/462/comments","events_url":"https://api.github.com/repos/camptocamp/ngeo/issues/462/events","html_url":"https://github.com/camptocamp/ngeo/pull/462","id":121308937,"number":462,"title":"[WIP] gmf-authentication","user":{"login":"adube","id":432436,"avatar_url":"https://avatars.githubusercontent.com/u/432436?v=3","gravatar_id":"","url":"https://api.github.com/users/adube","html_url":"https://github.com/adube","followers_url":"https://api.github.com/users/adube/followers","following_url":"https://api.github.com/users/adube/following{/other_user}","gists_url":"https://api.github.com/users/adube/gists{/gist_id}","starred_url":"https://api.github.com/users/adube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adube/subscriptions","organizations_url":"https://api.github.com/users/adube/orgs","repos_url":"https://api.github.com/users/adube/repos","events_url":"https://api.github.com/users/adube/events{/privacy}","received_events_url":"https://api.github.com/users/adube/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":33,"created_at":"2015-12-09T18:24:40Z","updated_at":"2015-12-17T19:17:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/camptocamp/ngeo/pulls/462","html_url":"https://github.com/camptocamp/ngeo/pull/462","diff_url":"https://github.com/camptocamp/ngeo/pull/462.diff","patch_url":"https://github.com/camptocamp/ngeo/pull/462.patch"},"body":"This is a very early state of the `gmf-authentication` directive.  The idea is to collect comments from the core developers of ngeo/gmf.\r\n\r\nThe base idea is this: an `authentication` service, configured with a base url, will attempt to ask to the server upon creation if the user is connected or not.  The main `authentication` directive listens to the `load` event of the service and checks if the user is connected or not.  It will then decide which inner directive to include.\r\n\r\nIs this a good start ?"},"comment":{"url":"https://api.github.com/repos/camptocamp/ngeo/issues/comments/165553374","html_url":"https://github.com/camptocamp/ngeo/pull/462#issuecomment-165553374","issue_url":"https://api.github.com/repos/camptocamp/ngeo/issues/462","id":165553374,"user":{"login":"adube","id":432436,"avatar_url":"https://avatars.githubusercontent.com/u/432436?v=3","gravatar_id":"","url":"https://api.github.com/users/adube","html_url":"https://github.com/adube","followers_url":"https://api.github.com/users/adube/followers","following_url":"https://api.github.com/users/adube/following{/other_user}","gists_url":"https://api.github.com/users/adube/gists{/gist_id}","starred_url":"https://api.github.com/users/adube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adube/subscriptions","organizations_url":"https://api.github.com/users/adube/orgs","repos_url":"https://api.github.com/users/adube/repos","events_url":"https://api.github.com/users/adube/events{/privacy}","received_events_url":"https://api.github.com/users/adube/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T19:17:14Z","updated_at":"2015-12-17T19:17:14Z","body":"@sbrunner I just tried to login for the first time.\r\n\r\n    GET https://geomapfish-demo.camptocamp.net/2.0/wsgi/login \r\n    authentication.html:1 XMLHttpRequest cannot load https://geomapfish-demo.camptocamp.net/2.0/wsgi/login.\r\n    No 'Access-Control-Allow-Origin' header is present on the requested resource.\r\n    Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 400.\r\n\r\nBottom-line: I'm still unable to use the service.  Please, test them **all** - login, loginuser, logout, loginchange and loginresetpassword and make sure they all work properly.\r\n\r\nI'll be waiting for your positive answer before moving on.  Thanks."}}