Jump to content

Change password API seems "Broken"


Recommended Posts

NeoMatrix
Posted

Can someone check this for me please...

 

I'm trying to update a password via the API. When I run the curl command to update - I see on the dashboard that the pass has been updated but it does not "take affect".

 

ie - user1 has no password. I update password via API, get confirmation on the dashboard but user still has blank password.

I'm using the latest stable Emby in a docker environment.

Can someone check to see if this still works?

 

Thanks for reading......

 

 

 

rbjtech
Posted

I'm not 100%, but have a feeling this function needs to be done via an HTTPS connection ?

Posted

Hi, how does it compare when using the web app?

NeoMatrix
Posted

Just in the office - Web app works perfectly!!

 

What confuses me is that the dashboard recognises an update to password but nothing happens.....

 

Ill be home in an hour if you need anything done from my side.

Cheesegeezer
Posted

ApiClient is broken at the minute, 

@chef was using it for his "PosterApp" utility and it was working fine to authenticate a user and create an App Session.  Then we shared the code to set up User Authentication for Iridium a few weeks later and I was having lots of problems.  So I tested his PosterApp and that is also failing just to connect and authenticate.  

Has something changed.

Posted

The js version works just fine. The c# version is a bit out of date at this point.

Cheesegeezer
Posted
6 minutes ago, Luke said:

The js version works just fine. The c# version is a bit out of date at this point.

me and chef can't seem to get validation or do you think it's do to with all this CORS shite they have introduced?

Cheesegeezer
Posted

it's the reason why swagger on pc only works on local server.  @rbjtech can enlighten you some more, but a heap of extra security hoops to jump thru.

Some Cross Origin security. 

Cross-Origin Resource Sharing (CORS) - HTTP | MDN (mozilla.org)

Edge and Chrome have implemented it, so using firefox or safari is a work around to get on swagger etc.

  • Thanks 1
  • 11 months later...
Posted

I think it's broken,  swagger doesn't work either

Posted
2 hours ago, clost said:

I think it's broken,  swagger doesn't work either

Swagger works just fine, but you may need to have your web app on localhost or https due to browser requirements.

  • 2 weeks later...
Posted
On 3/30/2023 at 4:49 PM, Luke said:

Swagger works just fine, but you may need to have your web app on localhost or https due to browser requirements.

I can use swagger, but can not use update password by swagger, I can update password to empty, but can not update password that I want. it seems NewPw doesn't work,or do I need change string to md5?

Posted
6 hours ago, clost said:

I can use swagger, but can not use update password by swagger, I can update password to empty, but can not update password that I want. it seems NewPw doesn't work,or do I need change string to md5?

Try comparing your http request to what the web app is sending by using the browser network request debugger.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...