Authentication Issue

Madsonic Development Section
milleph
Contributor
Contributor
Posts: 5
Joined: 13 Mar 2017, 04:30
Has thanked: 0
Been thanked: 2 times

Authentication Issue

Unread post 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?
milleph
Contributor
Contributor
Posts: 5
Joined: 13 Mar 2017, 04:30
Has thanked: 0
Been thanked: 2 times

Re: Authentication Issue

Unread post 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
Post Reply