09-10-2015 11:52 AM
09-24-2015 05:55 AM
Do you mean that you have a javascript application and you would like it to handle an authentication toke, to avoid having to authenticate each requests with username / password ? what do you mean by "isolated mode deployed"?
01-25-2017 05:38 AM
From what I can see, there is no authentication endpoint in the REST API, but the calls use basic authentication according to https://doc.nuxeo.com/nxdoc/request-authentication/, so you would pass username and password in each request. I would also prefer to get a token instead of basic authentication for each API call, however, the latter should work as well for the moment.
You can create/test your login by making a dummy request to
GET http://192.168.99.100:32769/nuxeo/api/v1/user/Administrator
for example, which will then either return a 401 or a 200 status, if you pass the correct username and password.
Looking at the API explorer in my Nuxeo instance, I see that there is a token endpoint, not sure yet how to use it:
GET http://192.168.99.100:32769/nuxeo/api/v1/token
since you need to pass device id, application, permissions to it. (The Nuxeo mobile app seems to be using this approach). But this might be an alternative way.
01-25-2017 05:55 AM
A token can be retrieved here
Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.
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.