Music Assistant API Version 2.8.4 (maybe on older versions) : in the REST login both the request and it's answer JSON are not compliant anymore with auth_helpers.py.
-
the request must wrap the username and password in a "credentials" object : {"credentials": {"username": username, "password": password}}
-
the answer now return the token as a "token" entry (not anymore "access_token")
Music Assistant API Version 2.8.4 (maybe on older versions) : in the REST login both the request and it's answer JSON are not compliant anymore with auth_helpers.py.
the request must wrap the username and password in a "credentials" object : {"credentials": {"username": username, "password": password}}
the answer now return the token as a "token" entry (not anymore "access_token")