sonata-nfv/son-gkeeper

Check password save

Opened this issue · 7 comments

It is not working when PUT http://sp.int3.sonata-nfv.eu:32001/api/v2/users?username=<username> is used

Hi @jbonnet
If you are trying to update the user's password, the PUT method to /api/v2/users? won't do it. It was only intended to update users private and public key. However if this functionality is needed, I can implement it (it requires adding a new case in the code).

Ha! Right, @dang03, we need that...
Thanks,

Ok, there I go!

@jbonnet How is the body of the message you send to the endpoint?
Is the full user registration message (including a new password) or it only has the new password key: value?
Thanks

@dang03 the current API is to update all fields...

Solved.
The 'username' and its 'id' number can't be modified/updated.

+1, @dang03
@pkarkazis @mzacharioudakis can you please retest this?