Forum Discussion

rzinger's avatar
rzinger
Contributor
12 years ago

Changing user's login fails with "Permission Denied", 303 error

Hello,

 

I am logging in as an admin (a username we use for the API calls).  Get user's information, they try to update user's login with the following call: 

 

https://[lithium-server]/[community]/restapi/vc/users/login/[id-of-my-user]/login/set?restapi.session_key=[session_key]

 

Post Parameters:

value=[new value]

 

Get this response: 

 

{"response":{"error":{"message":"Permission Denied","code":303},"status":"error"}} 

 

Any ideas? 

 

 

11 Replies

  • rzinger's avatar
    rzinger
    Contributor
    12 years ago

    We have a separate, non-SSO user. We log in via api auth manager call, sending user.login, user.password (I know, so 20th century) but it's the only thing that works with the network infrastructure.  That user is used exclusively for API calls on behalf of other users and is an Admin. 

     

    The actual users authenticate using SSO.