{ "entry": { "id": "TICKET_864ca3ef4000c43701d275b7704c6b57ccf0e842", "userId": "myuser" } }then I code it in base64
But when I try to curl with this ticket (here is another one but)
curl -X GET -H 'Accept: application/json' -H "Authorization: Basic VElDS0VUXzg2NGNhM2VmNDAwMGM0MzcwMWQyNzViNzcwNGM2YjU3Y2NmMGU4NDI=" "http://test-gedi/alfresco/api/-default-/public/alfresco/versions/1/nodes/-root-/children?maxItems=5"
I get a 401 error
<html><head>
</head><body><p>Login failed. Please try again.</p>
</body></html>
When I Try to activate
with this url
curl -X GET "http://test-gedi/alfresco/api/-default-/public/authentication/versions/1/tickets/-me-" -H "accept: application/json" -H "authorization: Basic SkMyMDUyMzY6VGFyZHlmZXJvbjgwbWch"
I get a maybe interesting error :
{ "error": { "errorKey": "Ticket base authentication required.", "statusCode": 400, "briefSummary": "08050005 Ticket base authentication required.", "stackTrace": "Pour des raisons de sécurité, le traçage de la pile n'est plus affiché, mais la propriété est conservée dans les versions précédente", "descriptionURL": "https://api-explorer.alfresco.com"
}
}My code is perfectly working with 5.2 so I guess I missed a configuration somehow ..
It seems that authentification with ticket need to be activated/enable somewhere..
I'm user docker image ..
Could anybody help ?
thank you !