cancel
Showing results for 
Search instead for 
Did you mean: 

fetch document with portal_auth doesn't work.

kodermax
Star Contributor
Star Contributor
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);
});

I get 401 http status, but query method works. type an image title

1 ACCEPTED ANSWER

kodermax
Star Contributor
Star Contributor
2 REPLIES 2

kodermax
Star Contributor
Star Contributor

I found answer!

Great !