Activiti Endpoint API authorization

cancel
Showing results for 
Search instead for 
Did you mean: 
Established Member

Activiti Endpoint API authorization

Jump to solution

I want to deploy the Eindpoint API in a REST Call for activiti-app but I faced a problem in accessing JSON data example 

http://localhost:8080/activiti-app/api/enterprise/users 

The problem is to Test a base endpoint I have to enter my login and password in the browser but in activiti , there is no place to enter this authentification, Anyone could help ? 

Request URL: http://localhost:8080/activiti-app/api/enterprise/users
Response code: 401
Response message: Non-Autorisé

1 Solution

Accepted Solutions
Intermediate

Re: Activiti Endpoint API authorization

Jump to solution

There is a very good Blog post on the Alfresco Activiti blog that describes exactly how to make a custom Rest Endpoint here: https://community.alfresco.com/community/bpm/blog/2016/11/18/activiti-enterprise-developer-series-cu... 

Cheers,
Greg

View solution in original post

2 Replies
Established Member

Re: Activiti Endpoint API authorization

Jump to solution

I found the solution, I had to declare my login in Basic Authentication for endpoints and point it in basic auth configuration in the RESTful endpoint

Can anyone now tell me how to make a customized api ?

Intermediate

Re: Activiti Endpoint API authorization

Jump to solution

There is a very good Blog post on the Alfresco Activiti blog that describes exactly how to make a custom Rest Endpoint here: https://community.alfresco.com/community/bpm/blog/2016/11/18/activiti-enterprise-developer-series-cu... 

Cheers,
Greg

View solution in original post