{"action":"created","issue":{"url":"https://api.github.com/repos/feathersjs/feathers-authentication/issues/102","repository_url":"https://api.github.com/repos/feathersjs/feathers-authentication","labels_url":"https://api.github.com/repos/feathersjs/feathers-authentication/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/feathersjs/feathers-authentication/issues/102/comments","events_url":"https://api.github.com/repos/feathersjs/feathers-authentication/issues/102/events","html_url":"https://github.com/feathersjs/feathers-authentication/issues/102","id":140601339,"number":102,"title":"Updating User Attached to Params in Client","user":{"login":"arao456","id":2940142,"avatar_url":"https://avatars.githubusercontent.com/u/2940142?v=3","gravatar_id":"","url":"https://api.github.com/users/arao456","html_url":"https://github.com/arao456","followers_url":"https://api.github.com/users/arao456/followers","following_url":"https://api.github.com/users/arao456/following{/other_user}","gists_url":"https://api.github.com/users/arao456/gists{/gist_id}","starred_url":"https://api.github.com/users/arao456/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arao456/subscriptions","organizations_url":"https://api.github.com/users/arao456/orgs","repos_url":"https://api.github.com/users/arao456/repos","events_url":"https://api.github.com/users/arao456/events{/privacy}","received_events_url":"https://api.github.com/users/arao456/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/feathersjs/feathers-authentication/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-14T07:57:00Z","updated_at":"2016-03-18T02:13:02Z","closed_at":null,"body":"I'm a little lost about how the user gets attached to the request params on the client. Right now, I'm updating my user and then saving that updated user to storage:\r\n\r\n`await this.app.service('storage').patch('user', {value: userResponse});`\r\n\r\nWhen I send another request to my server, the updated user isn't attached via params, instead it's still the old user data.\r\n\r\nI'm using socketio on React Native if that's any help."},"comment":{"url":"https://api.github.com/repos/feathersjs/feathers-authentication/issues/comments/198165019","html_url":"https://github.com/feathersjs/feathers-authentication/issues/102#issuecomment-198165019","issue_url":"https://api.github.com/repos/feathersjs/feathers-authentication/issues/102","id":198165019,"user":{"login":"arao456","id":2940142,"avatar_url":"https://avatars.githubusercontent.com/u/2940142?v=3","gravatar_id":"","url":"https://api.github.com/users/arao456","html_url":"https://github.com/arao456","followers_url":"https://api.github.com/users/arao456/followers","following_url":"https://api.github.com/users/arao456/following{/other_user}","gists_url":"https://api.github.com/users/arao456/gists{/gist_id}","starred_url":"https://api.github.com/users/arao456/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arao456/subscriptions","organizations_url":"https://api.github.com/users/arao456/orgs","repos_url":"https://api.github.com/users/arao456/repos","events_url":"https://api.github.com/users/arao456/events{/privacy}","received_events_url":"https://api.github.com/users/arao456/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T02:13:02Z","updated_at":"2016-03-18T02:13:02Z","body":"@ekryski Any updates on this? Or alternatively, I'd be happy to make a PR myself if you can point me in the direction of the fix. One option it seems is to just remove that line and force the re-retrieval of the user. Another option I'm seeing is here: https://github.com/feathersjs/feathers-authentication/blob/master/src/client/index.js#L37. Is this what is setting the user in the socket for future params?"}}