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 !

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.