cancel
Showing results for 
Search instead for 
Did you mean: 

Username and password does not match

jhani_debruin
Champ in-the-making
Champ in-the-making
Hi,

I got activiti 5.11 up and running but when I try to login to activiti-rest:
http://localhost:8080/activiti-rest/service/login
body:
{
  "userId": "kermit",
  "password": "kermit"
}

I get the following error in the logs: 'Username and password does not match'

I can log in with activiti-explorer and there I can see the different users.

Can you help me with this please?
3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
How are you posting this request? Using curl? Can you paste how exactly you are calling this service.

jhani_debruin
Champ in-the-making
Champ in-the-making
Got it working last night, was using a rest console to make the calls. But the database was not accessible by the rest calls. Installing the tcp h2 script and then changing the db.properties to: jdbc.url=jdbc:h2:tcp://localhost/~/activiti solved the problem.

jbarrez
Star Contributor
Star Contributor
ah indeed, the users are indeed not known to the system then.

Thanks for posting back!