cancel
Showing results for 
Search instead for 
Did you mean: 

Authorization Problem in v6

sarthakchauhan
Champ in-the-making
Champ in-the-making

Hi,

I was using activiti v5.19.0.2 and upgraded to v6.0.0 and started encountering 401 unauthorized error when hitting REST API's through postman.

So, I downgraded back to v5 and it worked.

I have used all the possible matches for v6.

- admin/admin

- admin/test

Any Solution to this would be appreciated

1 ACCEPTED ANSWER

if you are using the activiti-rest.war then you can use the same users of Activiti 5 check Activiti/DemoDataConfiguration.java at 6.x · Activiti/Activiti · GitHub 

View answer in original post

3 REPLIES 3

sarthakchauhan
Champ in-the-making
Champ in-the-making

Update :-

Info - I am using spring boot v2.0.0

So I changed the POM and removed activiti's starter rest api dependency, which solves the issue.

So, what is it that makes it throw a 401 error?

if you are using the activiti-rest.war then you can use the same users of Activiti 5 check Activiti/DemoDataConfiguration.java at 6.x · Activiti/Activiti · GitHub 

Thanks! I'll look into it.