nuxeo elements : documentation about token authentication

According to documentation and source code :

“The nuxeo-connection sets up a connection to a Nuxeo instance and encapsulates the access to the JavaScript Client”

a 'token' property can be set for Token Authentication (set method=“token”)

What is the proper way to implement this token auth ?

0 votes

1 answers

970 views

ANSWER



Hello,

You should set method="token" and token="MY_TOKEN_VALUE"

Regards

1 votes



Thank you. So I have to use nuxeo-js-client (independently of Nuxeo Elements) in order to obtain the token, "Token Auth" needing itself another authentication method.
03/18/2020