{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/loopback-component-passport/issues/68","labels_url":"https://api.github.com/repos/strongloop/loopback-component-passport/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback-component-passport/issues/68/comments","events_url":"https://api.github.com/repos/strongloop/loopback-component-passport/issues/68/events","html_url":"https://github.com/strongloop/loopback-component-passport/issues/68","id":85722767,"number":68,"title":"Extended userIdentity and userCredential not overwriting UserIdentity and UserCredential","user":{"login":"gmxu","id":4658044,"avatar_url":"https://avatars.githubusercontent.com/u/4658044?v=3","gravatar_id":"","url":"https://api.github.com/users/gmxu","html_url":"https://github.com/gmxu","followers_url":"https://api.github.com/users/gmxu/followers","following_url":"https://api.github.com/users/gmxu/following{/other_user}","gists_url":"https://api.github.com/users/gmxu/gists{/gist_id}","starred_url":"https://api.github.com/users/gmxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmxu/subscriptions","organizations_url":"https://api.github.com/users/gmxu/orgs","repos_url":"https://api.github.com/users/gmxu/repos","events_url":"https://api.github.com/users/gmxu/events{/privacy}","received_events_url":"https://api.github.com/users/gmxu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-06T08:24:21Z","updated_at":"2015-06-06T08:57:36Z","closed_at":null,"body":"I'm implementing Passport in my own project by following the loopback-example-passport project, however, when I create my own models for userIdentity and userCredetial and have them extend UserIdentity and UserCredential, models for all four are created for my app. However, using the example project only the models for the extended models are created. Any idea why UserIdentity and UserCredential are not being overwritten?"},"comment":{"url":"https://api.github.com/repos/strongloop/loopback-component-passport/issues/comments/109553919","html_url":"https://github.com/strongloop/loopback-component-passport/issues/68#issuecomment-109553919","issue_url":"https://api.github.com/repos/strongloop/loopback-component-passport/issues/68","id":109553919,"user":{"login":"gmxu","id":4658044,"avatar_url":"https://avatars.githubusercontent.com/u/4658044?v=3","gravatar_id":"","url":"https://api.github.com/users/gmxu","html_url":"https://github.com/gmxu","followers_url":"https://api.github.com/users/gmxu/followers","following_url":"https://api.github.com/users/gmxu/following{/other_user}","gists_url":"https://api.github.com/users/gmxu/gists{/gist_id}","starred_url":"https://api.github.com/users/gmxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmxu/subscriptions","organizations_url":"https://api.github.com/users/gmxu/orgs","repos_url":"https://api.github.com/users/gmxu/repos","events_url":"https://api.github.com/users/gmxu/events{/privacy}","received_events_url":"https://api.github.com/users/gmxu/received_events","type":"User","site_admin":false},"created_at":"2015-06-06T08:57:36Z","updated_at":"2015-06-06T08:57:36Z","body":"Reverting to 1.0.6 of loopback-component-passport fixes it for me in my project, however, the loopback-example-passport project does not experience this despite using the newest version of loopback-component-passport."}}