Closed variasdesign closed 1 day ago
Hello!
Indeed the user parameter is forbidden, but only if the API key is provided using the apiKey
parameter.
When using user/password, you just have to put your username as before and put your API key as the password. Are you sure you saved the settings when you generated the API key in the settings page? The layout is quite misleading unfortunately.
Yep, that was it, silly me. Thanks for your help and your work!
Greetings. I've been using LMS for a while now, it's a great piece of software. However, since the last update (3.61.0) I've been unable to connect to my server using the OpenSubsonic API on Android through apps like Ultrasonic or Tempo. I've noticed a change in the API authentication, now requiring an API key. Usually, I connect to my server using plaintext user and password credentials. The API is throwing the following errors:
[error] - 4112858900 [API_SUBSONIC] Error while processing request '/getArtists', params = [{c=Ultrasonic}, {f=json}, {p=*REDACTED*}, {u=varias}, {v=1.7.0}, ], code = 40, msg = 'Wrong username or password.'
, with plaintext auth.[error] - 4112707348 [API_SUBSONIC] Error while processing request '/getArtists', params = [{c=Ultrasonic}, {f=json}, {s=*REDACTED}, {t=*REDACTED*}, {u=varias}, {v=1.16.0}, ], code = 41, msg = 'Token authentication not supported for LDAP users.'
with token-based.I've tried using the generated API key from my user panel as password, as well as my old one. Also, I've refreshed my config file with the new parameters, thinking setting
api-subsonic-support-user-password-auth = true
would let me log in as usual, but it had no effect whatsoever. The API specification says not to pass an user parameter in the request. but Ultrasonic and Tempo won't let me send an empty username for testing.Thank you and regards.