Page 1 of 1

Authentication Issue

Unread postPosted: 13 Mar 2017, 04:41
by milleph
Having trouble with

localhost:4040/rest/ping.view?u=user&t=token&s=salt&v=1.1.0&c=app&f=json

Works fine with the admin account (so the token generation is working fine) but not with a standard user account (error 40: wrong username or password). Not sure what I'm missing. Do I have to enable users for api access?

Re: Authentication Issue

Unread postPosted: 18 Mar 2017, 22:38
by milleph
Anyone out there? I'm out of ideas. In an effort to isolate Have done all of the following.

- user account has same password as admin
- user account has admin rights
- fixed the salt for each md5 encoding

The only difference between the admin and user URL is u=admin or u=user

localhost:4041/rest/ping.view?u=admin&t=token&s=salt&v=1.1.0&c=mono&f=json

Works for admin, not for user. The salt and token are the same in both cases