{"action":"created","issue":{"url":"https://api.github.com/repos/matrix-org/matrix-android-sdk/issues/169","repository_url":"https://api.github.com/repos/matrix-org/matrix-android-sdk","labels_url":"https://api.github.com/repos/matrix-org/matrix-android-sdk/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/matrix-org/matrix-android-sdk/issues/169/comments","events_url":"https://api.github.com/repos/matrix-org/matrix-android-sdk/issues/169/events","html_url":"https://github.com/matrix-org/matrix-android-sdk/issues/169","id":226513379,"number":169,"title":"Login API - loginWithToken returns invalid token (403)","user":{"login":"guinardA","id":6078902,"avatar_url":"https://avatars0.githubusercontent.com/u/6078902?v=3","gravatar_id":"","url":"https://api.github.com/users/guinardA","html_url":"https://github.com/guinardA","followers_url":"https://api.github.com/users/guinardA/followers","following_url":"https://api.github.com/users/guinardA/following{/other_user}","gists_url":"https://api.github.com/users/guinardA/gists{/gist_id}","starred_url":"https://api.github.com/users/guinardA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guinardA/subscriptions","organizations_url":"https://api.github.com/users/guinardA/orgs","repos_url":"https://api.github.com/users/guinardA/repos","events_url":"https://api.github.com/users/guinardA/events{/privacy}","received_events_url":"https://api.github.com/users/guinardA/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-05T09:04:35Z","updated_at":"2017-05-12T08:49:58Z","closed_at":null,"body":"Hello,\r\n\r\nOn the first connection I am using loginWithPassword and storing the token given in the returned Credentials object. \r\nThis token is stored with the account manager.\r\nThen I recover this token and try a loginWithToken everytime my app launches but I get an invalid token error with a \"D/RestAdapterCallback: ## failure(): [loginWithPassword user] with error 403 Forbidden\".\r\n\r\nI displayed the stored token and the recovered one, they are exactly the same.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/matrix-org/matrix-android-sdk/issues/comments/301021195","html_url":"https://github.com/matrix-org/matrix-android-sdk/issues/169#issuecomment-301021195","issue_url":"https://api.github.com/repos/matrix-org/matrix-android-sdk/issues/169","id":301021195,"user":{"login":"ylecollen","id":8971031,"avatar_url":"https://avatars2.githubusercontent.com/u/8971031?v=3","gravatar_id":"","url":"https://api.github.com/users/ylecollen","html_url":"https://github.com/ylecollen","followers_url":"https://api.github.com/users/ylecollen/followers","following_url":"https://api.github.com/users/ylecollen/following{/other_user}","gists_url":"https://api.github.com/users/ylecollen/gists{/gist_id}","starred_url":"https://api.github.com/users/ylecollen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ylecollen/subscriptions","organizations_url":"https://api.github.com/users/ylecollen/orgs","repos_url":"https://api.github.com/users/ylecollen/repos","events_url":"https://api.github.com/users/ylecollen/events{/privacy}","received_events_url":"https://api.github.com/users/ylecollen/received_events","type":"User","site_admin":false},"created_at":"2017-05-12T08:49:58Z","updated_at":"2017-05-12T08:49:58Z","body":"Do you use your own home server ?\r\n"}}
{"actor":{"display_login":"ylecollen"}}