cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti Endpoint API authorization

bhchemss
Star Contributor
Star Contributor

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 ACCEPTED ANSWER

gdharley
Elite Collaborator
Elite Collaborator

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 answer in original post

2 REPLIES 2

bhchemss
Star Contributor
Star Contributor

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 ?

gdharley
Elite Collaborator
Elite Collaborator

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