{"action":"created","issue":{"url":"https://api.github.com/repos/e-ucm/a2/issues/88","labels_url":"https://api.github.com/repos/e-ucm/a2/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/e-ucm/a2/issues/88/comments","events_url":"https://api.github.com/repos/e-ucm/a2/issues/88/events","html_url":"https://github.com/e-ucm/a2/issues/88","id":125918326,"number":88,"title":"Actor","user":{"login":"wvdvegt","id":1768983,"avatar_url":"https://avatars.githubusercontent.com/u/1768983?v=3","gravatar_id":"","url":"https://api.github.com/users/wvdvegt","html_url":"https://github.com/wvdvegt","followers_url":"https://api.github.com/users/wvdvegt/followers","following_url":"https://api.github.com/users/wvdvegt/following{/other_user}","gists_url":"https://api.github.com/users/wvdvegt/gists{/gist_id}","starred_url":"https://api.github.com/users/wvdvegt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wvdvegt/subscriptions","organizations_url":"https://api.github.com/users/wvdvegt/orgs","repos_url":"https://api.github.com/users/wvdvegt/repos","events_url":"https://api.github.com/users/wvdvegt/events{/privacy}","received_events_url":"https://api.github.com/users/wvdvegt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-11T10:52:28Z","updated_at":"2016-01-11T11:59:14Z","closed_at":null,"body":"Hi\r\n\r\nI'm seeing somewhat strange behavior and wonder if it's correct.\r\n\r\nIf I issue a start request the name of  author is always different and the account name always Anonymous. No matter if I issue the start directly with a userToken or Login first.\r\n\r\nI expect this behavior only when issuing a start with 'a:' as token as anonymous users are always different. xAPI as far as I can tell uses the Actor in queries so it will be difficult to combine multiple sessions by one user this way (unless something is changed in the trace by the server).\r\n\r\nBest Regards\r\nWim van der Vegt"},"comment":{"url":"https://api.github.com/repos/e-ucm/a2/issues/comments/170520073","html_url":"https://github.com/e-ucm/a2/issues/88#issuecomment-170520073","issue_url":"https://api.github.com/repos/e-ucm/a2/issues/88","id":170520073,"user":{"login":"manuel-freire","id":2271676,"avatar_url":"https://avatars.githubusercontent.com/u/2271676?v=3","gravatar_id":"","url":"https://api.github.com/users/manuel-freire","html_url":"https://github.com/manuel-freire","followers_url":"https://api.github.com/users/manuel-freire/followers","following_url":"https://api.github.com/users/manuel-freire/following{/other_user}","gists_url":"https://api.github.com/users/manuel-freire/gists{/gist_id}","starred_url":"https://api.github.com/users/manuel-freire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuel-freire/subscriptions","organizations_url":"https://api.github.com/users/manuel-freire/orgs","repos_url":"https://api.github.com/users/manuel-freire/repos","events_url":"https://api.github.com/users/manuel-freire/events{/privacy}","received_events_url":"https://api.github.com/users/manuel-freire/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T11:59:14Z","updated_at":"2016-01-11T11:59:14Z","body":"Of course, different sessions by anonymous users will not be combined.\r\n\r\nLogin information should be preserved via an `X-Gleaner-User` header [added by A2](https://github.com/e-ucm/a2/blob/master/routes/proxy.js#L108) and interpreted by the [backend](https://github.com/e-ucm/rage-analytics-backend/blob/master/routes/collector.js#L36) to be used as the xAPI actor.  Note that HTTP headers are supposed to be case-insensitive. \r\n\r\nCan you confirm that the xAPI traces do not preserve correct Actors by checking in OpenLRS or Back's logs? Otherwise, we will close the issue as \"expected behaviour\".\r\n"}}