Authentication Issue

Madsonic Development Section

Authentication Issue

Unread postby milleph » 13 Mar 2017, 04:41

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 time
Been thanked: 2 times

Re: Authentication Issue

Unread postby milleph » 18 Mar 2017, 22:38

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


Return to Development

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron