{"action":"created","issue":{"url":"https://api.github.com/repos/nolanlawson/pouchdb-authentication/issues/38","labels_url":"https://api.github.com/repos/nolanlawson/pouchdb-authentication/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/nolanlawson/pouchdb-authentication/issues/38/comments","events_url":"https://api.github.com/repos/nolanlawson/pouchdb-authentication/issues/38/events","html_url":"https://github.com/nolanlawson/pouchdb-authentication/pull/38","id":90535478,"number":38,"title":"Added `metadata` to reservedWords for signUp() #37","user":{"login":"RichardLitt","id":910753,"avatar_url":"https://avatars.githubusercontent.com/u/910753?v=3","gravatar_id":"","url":"https://api.github.com/users/RichardLitt","html_url":"https://github.com/RichardLitt","followers_url":"https://api.github.com/users/RichardLitt/followers","following_url":"https://api.github.com/users/RichardLitt/following{/other_user}","gists_url":"https://api.github.com/users/RichardLitt/gists{/gist_id}","starred_url":"https://api.github.com/users/RichardLitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichardLitt/subscriptions","organizations_url":"https://api.github.com/users/RichardLitt/orgs","repos_url":"https://api.github.com/users/RichardLitt/repos","events_url":"https://api.github.com/users/RichardLitt/events{/privacy}","received_events_url":"https://api.github.com/users/RichardLitt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-24T01:32:06Z","updated_at":"2015-07-18T17:44:04Z","closed_at":"2015-07-18T17:44:04Z","pull_request":{"url":"https://api.github.com/repos/nolanlawson/pouchdb-authentication/pulls/38","html_url":"https://github.com/nolanlawson/pouchdb-authentication/pull/38","diff_url":"https://github.com/nolanlawson/pouchdb-authentication/pull/38.diff","patch_url":"https://github.com/nolanlawson/pouchdb-authentication/pull/38.patch"},"body":"I found the issue in my problem; I was sending the entire `user` object, not just `user.metadata`. This breaks and doesn't throw a Auth error if `metadata` is a field in the `metadata` parameter for signup - instead, it throws a breaking `undefined is not a function` and doesn't have an error which you can log as to why signing up didn't work. Adding `metadata` to the list of reserved words should fix that. \r\n\r\n "},"comment":{"url":"https://api.github.com/repos/nolanlawson/pouchdb-authentication/issues/comments/122571283","html_url":"https://github.com/nolanlawson/pouchdb-authentication/pull/38#issuecomment-122571283","issue_url":"https://api.github.com/repos/nolanlawson/pouchdb-authentication/issues/38","id":122571283,"user":{"login":"nolanlawson","id":283842,"avatar_url":"https://avatars.githubusercontent.com/u/283842?v=3","gravatar_id":"","url":"https://api.github.com/users/nolanlawson","html_url":"https://github.com/nolanlawson","followers_url":"https://api.github.com/users/nolanlawson/followers","following_url":"https://api.github.com/users/nolanlawson/following{/other_user}","gists_url":"https://api.github.com/users/nolanlawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nolanlawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolanlawson/subscriptions","organizations_url":"https://api.github.com/users/nolanlawson/orgs","repos_url":"https://api.github.com/users/nolanlawson/repos","events_url":"https://api.github.com/users/nolanlawson/events{/privacy}","received_events_url":"https://api.github.com/users/nolanlawson/received_events","type":"User","site_admin":false},"created_at":"2015-07-18T17:44:04Z","updated_at":"2015-07-18T17:44:04Z","body":"706e417be9b430f99f4c23d6ad3f693a4b41ab44\r\n"}}