cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti REST authentication

mhanrahan
Confirmed Champ
Confirmed Champ
I've been working on integrating my application with the REST interface of Activiti 5.14, and I've noticed that not everything needs to be authenticated using basic http auth.

For example, querying for a historical process instance with the request:
http://server:8080/activiti-rest/service/history/historic-process-instances/55985
requires the authentication headers to be set to avoid a fault.

However, if I try and query for a task with the request:
http://server:8080/activiti-rest/service/query/tasks
{
"name" : "foo"
}

Is this a design decision to require authentication for only some of the requests, and if so, is there a list or a way to tell which requests do or don't require authentication?  Or is it just a bug?
4 REPLIES 4

frederikherema1
Star Contributor
Star Contributor
That is not a design-decision, it's indeed a bug in that particular REST-resource. Thanks for reporting, I'll fix this on master.

yogesh1454
Champ in-the-making
Champ in-the-making
Hi All
Is it is fixed

we are also facing the issue we are trying to add the Activiti Rest API in our Spring Boot Project which has its own Authentication Page ,but after adding the activiti Rest API it is over riding the Application Authentication way and poping up the basic authentication box


Please Help in Finding the Solution

raki1497
Champ in-the-making
Champ in-the-making

Is there any update on this .... please let me know what how the authorization headers are to be added in rest call 

abbask01
Star Collaborator
Star Collaborator

Have you tried this with Activiti 7 (latest release) ? does this problem persists in the new release as well?

Regards,
Abbas