Resolved! fetch document with portal_auth doesn't work.
this.nxServer = new Nuxeo({ baseURL: 'http://local:8080/nuxeo', auth: { method: 'portal', username: 'user', secret: 'nuxeo5secretkey' } }); this.nxServer.schemas('*'); this.nxServer.repository().fetch(id).then((response) => { console.log(response); }...